MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
DialogHost doesn't return current value when dialog is accepted from keyboard.
Personne n'a encore pris cette issue.
- Langage dominant
- C#
- Étoiles
- 16.3k
- Forks
- 3.5k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 8
Description
DialogHost doesn't return current value when dialog is accepted from keyboard.
MaterialDesignThemes v. 4.0.0
Repository with example: https://github.com/lszczygielek/MaterialDesignInXamlToolkit-DialogHost-Focus
@Keboo wrote about it on Gitter:
I wrote a small test to also show the issue here. I did write a little UI test to reproduce the issue as well: https://github.com/Keboo/MaterialDesignInXamlToolkit/tree/dialogHostDoesNotUpdate
If anyone wants to have a go at addressing it that would be a good start. I spent a little time looking at it, and it seems like it may be a little difficult with timing to address it within the dialog host as you need to trigger the lost focus event and wait for the binding to update. This may end up being something that needs to be addressed outside of this library.
It also appears this is somewhat expected as several other people have run into similar use cases. https://www.thomasclaudiushuber.com/2008/05/02/lostfocus-textbox-vs-buttons-isdefault-property/
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par l’exemple DialogHost-Focus lié et le test UI de la branche dialogHostDoesNotUpdate afin de reproduire l’acceptation au clavier dans MaterialDesignThemes 4.0.0. Suivez ensuite la gestion du focus et des mises à jour de liaison par DialogHost, puis vérifiez que l’acceptation de la boîte de dialogue renvoie la valeur actuelle affichée dans le contrôle.
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
- 35/100