Skip to content

Commit acc26fd

Browse files
committed
Update ShellPanesPage.xaml.cs
1 parent ff8434b commit acc26fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Views/ShellPanesPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ private void Pane_Loaded(object sender, RoutedEventArgs e)
648648
private void Pane_GettingFocus(UIElement sender, GettingFocusEventArgs args)
649649
{
650650
// Workaround for https://github.com/files-community/Files/issues/15397
651-
if (args?.NewFocusedElement is not null && args.NewFocusedElement is not (ListViewItem or GridViewItem or ListView or GridView))
651+
if (args?.NewFocusedElement is not null && args.NewFocusedElement is not (ListViewItem or GridViewItem or ListView or GridView or TextBox))
652652
args.TryCancel();
653653
}
654654

0 commit comments

Comments
 (0)