MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Datagrid problems with keyboard

Ouverte
#1,284 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

bug up-for-grabs
Langage dominant
C#
Étoiles
16.3k
Forks
3.5k
Merge moyen
1 j 22 h
PR mergées (30 j)
8

Description

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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par l’application de démonstration décrite dans l’issue et reproduisez le comportement du clavier dans MaterialDataGridComboBoxColumn. Examinez le comportement de la colonne du datagrid, l’ordre de tabulation et l’indication du focus, ainsi que MaterialDesignDataGridTextColumnPopupEditingStyle. La tâche est terminée lorsque l’édition au clavier fonctionne, que la navigation avec la touche Tab et le focus sont utilisables, et que la largeur minimale de la popup correspond à la largeur de la cellule.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.