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 ae591bc commit eed7abeCopy full SHA for eed7abe
src/Files.App.Controls/Omnibar/Omnibar.Events.cs
@@ -26,7 +26,7 @@ private void AutoSuggestBox_GettingFocus(UIElement sender, GettingFocusEventArgs
26
27
private void AutoSuggestBox_LosingFocus(UIElement sender, LosingFocusEventArgs args)
28
{
29
- if (IsModeButtonPressed)
+ if (args.NewFocusedElement is Button && IsModeButtonPressed)
30
31
IsModeButtonPressed = false;
32
args.TryCancel();
0 commit comments