MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Datagrid problems with keyboard

オープン
#1,284 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug up-for-grabs
主要言語
C#
スター
16.3k
フォーク
3.5k
平均マージ
1日 22時間
マージ済み PR(30日)
8

説明

the datagrid `MaterialDataGridComboBoxColumn` can't be used with keyboard

when i get to the column with my keyboard by pressing "Tab" pressing any key to open the "drop down list" including space doesn't do anything and i have to use the mouse to do so even if i forced the editing cell mode for it

can't set the `MaterialDataGridComboBoxColumn` to editable

pressing tab to go throw app fields work fine until i reach a datagrid instead of going from the last field to the first cell in the first row if there is any it will go throw the columns headers first then the first row.
if you need this for a checkbox to select all or something just add `IsTabStop` with false as the default also there is no visible indication where it currently focus on with the headers because the dots box doesn't show on them

the `MaterialDesignDataGridTextColumnPopupEditingStyle` should popup with minwidth as wide as the cell width.

demo https://youtu.be/d21YR-9FKk4

you can test all of this in the demo app, thanks

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue に記載されているデモアプリから始め、MaterialDataGridComboBoxColumn のキーボード動作を再現します。datagrid の列の動作、ヘッダーのタブ順序とフォーカス表示、および MaterialDesignDataGridTextColumnPopupEditingStyle を調査します。キーボードによる編集が機能し、タブナビゲーションとフォーカスが使いやすく、ポップアップの最小幅がセル幅と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。