MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Focus issue with Calendar in Dialog
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 16.3k
- Forks
- 3.5k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
Bug explanation
After having selected a day in a Calendar in a dialog, users have to click twice to close the dialog.
It seems like the first click only restores focus to the dialog (or window)?
Here is an example where I have to click the "OK" button twice to for the dialog to close:
https://github.com/user-attachments/assets/fe2c9ace-6157-4335-90e0-364884edfde7
Version
5.3.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using a Calendar inside a dialog on version 5.3.0, selecting a day and then clicking the OK button. Trace the focus behavior after the calendar selection and verify that the dialog closes with one click; preserve coverage for this interaction if the repository has a relevant test entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100