We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d9a42 commit c56b234Copy full SHA for c56b234
MaterialDesignThemes.Wpf/DialogHost.cs
@@ -787,7 +787,7 @@ internal void InternalClose(object? parameter)
787
788
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
789
{
790
- if (Window.GetWindow(this) is { } window && !window.IsActive)
+ if (Window.GetWindow(this) is { } window && !window.IsActive && window.OwnedWindows.OfType<Window>().All(x => !x.IsActive))
791
792
window.Activate();
793
}
0 commit comments