You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created a MetroDialogSettings, and by default the DefaultButton Focus is set to the MessageDialogResult.Negative. When the dialog is displayed the Ok button is highlighted and the default focus.
Steps to reproduce
Create an async method
Create MetroDialogSettings using defalt constructor, which set the negative button as the focus.
Await of the DialogCoordinator.ShowInputAsync passing in the MetroDialogSettings created above.
The Ok button is always highlighted and selected if a button is not selected.
I have tried manually setting -> metroInputSettings.DefaultButtonFocus = MessageDialogResult.Negative
Expected behavior
The OK button should not be selected and defaulted.
Actual behavior
Environment
Windows 10, .NET Framework 4.7.2
MahApps.Metro version: v1.4.3
Windows build number: Win10 Version 21H2 (OS Build 19044.1645)
Visual Studio: 2017 15.9.13
Target Framework: .4.7.2
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
Created a MetroDialogSettings, and by default the DefaultButton Focus is set to the MessageDialogResult.Negative. When the dialog is displayed the Ok button is highlighted and the default focus.
Steps to reproduce
Expected behavior
The OK button should not be selected and defaulted.
Actual behavior
Environment
Windows 10, .NET Framework 4.7.2
MahApps.Metro version: v1.4.3
Windows build number: Win10 Version 21H2 (OS Build 19044.1645)
Visual Studio: 2017 15.9.13
Target Framework: .4.7.2
Screenshots
The text was updated successfully, but these errors were encountered: