Focus issue with Calendar in Dialog

Author: corvinszCreated Nov 13, 2025Updated Nov 14, 2025
Labelsbugevaluation 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

Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit