File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/Files.App/Views/Layouts Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -526,10 +526,7 @@ navigationArguments.SelectItems is not null &&
526
526
] ;
527
527
528
528
ItemManipulationModel . SetSelectedItems ( listedItemsToSelect ) ;
529
-
530
- // Don't focus file list if TextBox is focused
531
- if ( FocusManager . GetFocusedElement ( ) is not TextBox )
532
- ItemManipulationModel . FocusSelectedItems ( ) ;
529
+ ItemManipulationModel . FocusSelectedItems ( ) ;
533
530
}
534
531
else if ( navigationArguments is not null && ParentShellPageInstance ! . InstanceViewModel . FolderSettings . LayoutMode is not FolderLayoutModes . ColumnView )
535
532
{
@@ -538,9 +535,7 @@ navigationArguments.SelectItems is not null &&
538
535
await Task . Delay ( 100 ) ;
539
536
540
537
// Focus on the active pane in case it was lost during navigation
541
- // Don't focus file list if TextBox is focused
542
- if ( FocusManager . GetFocusedElement ( ) is not TextBox )
543
- ParentShellPageInstance ! . PaneHolder . FocusActivePane ( ) ;
538
+ ParentShellPageInstance ! . PaneHolder . FocusActivePane ( ) ;
544
539
}
545
540
}
546
541
catch ( Exception ) { }
You can’t perform that action at this time.
0 commit comments