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 7bd7c2d commit 7a77bbdCopy full SHA for 7a77bbd
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