Focus issue with Calendar in Dialog

Open
#3,971 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
desktop

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.

Description

bug evaluation required
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

Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MaterialDesignInXAML/MaterialDesignInXamlToolkit

All issues in MaterialDesignInXAML/MaterialDesignInXamlToolkit

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.