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 f740535 commit 99bb2ffCopy full SHA for 99bb2ff
src/Files.App.Controls/Omnibar/Omnibar.Properties.cs
@@ -48,9 +48,11 @@ partial void OnCurrentSelectedModeNameChanged(string? newValue)
48
49
partial void OnIsFocusedChanged(bool newValue)
50
{
51
- if (CurrentSelectedMode is null)
+ if (CurrentSelectedMode is null || _textBox is null)
52
return;
53
54
+ _textBox.Focus(FocusState.Keyboard);
55
+
56
if (newValue)
57
58
VisualStateManager.GoToState(CurrentSelectedMode, "Focused", true);
0 commit comments