@@ -222,6 +222,13 @@ protected override void FileList_SelectionChanged(object sender, SelectionChange
222
222
var presenter = openedFolderPresenter . FindDescendant < Grid > ( ) ! ;
223
223
presenter ! . Background = this . Resources [ "ListViewItemBackgroundSelected" ] as SolidColorBrush ;
224
224
}
225
+
226
+ if ( SelectedItems ? . Count > 1 || SelectedItem ? . PrimaryItemAttribute is StorageItemTypes . File )
227
+ {
228
+ var currentBladeIndex = ( ParentShellPageInstance is ColumnShellPage associatedColumnShellPage ) ? associatedColumnShellPage . ColumnParams . Column : 0 ;
229
+ this . FindAscendant < ColumnViewBrowser > ( ) ? . DismissOtherBlades ( currentBladeIndex ) ;
230
+ ClearOpenedFolderSelectionIndicator ( ) ;
231
+ }
225
232
}
226
233
227
234
private void FileList_RightTapped ( object sender , RightTappedRoutedEventArgs e )
@@ -237,7 +244,12 @@ private void HandleRightClick(object sender, RightTappedRoutedEventArgs e)
237
244
238
245
private void FileList_PreviewKeyUp ( object sender , KeyRoutedEventArgs e )
239
246
{
240
- if ( IsRenamingItem || ! ( e . Key is VirtualKey . Up or VirtualKey . Down or VirtualKey . Right ) )
247
+ if
248
+ (
249
+ IsRenamingItem ||
250
+ ! ( e . Key is VirtualKey . Up or VirtualKey . Down or VirtualKey . Right ) ||
251
+ SelectedItems ? . Count > 1
252
+ )
241
253
return ;
242
254
243
255
// Open selected directory
@@ -247,7 +259,12 @@ private void FileList_PreviewKeyUp(object sender, KeyRoutedEventArgs e)
247
259
248
260
protected override async void FileList_PreviewKeyDown ( object sender , KeyRoutedEventArgs e )
249
261
{
250
- if ( ParentShellPageInstance is null || IsRenamingItem )
262
+ if
263
+ (
264
+ ParentShellPageInstance is null ||
265
+ IsRenamingItem ||
266
+ SelectedItems ? . Count > 1
267
+ )
251
268
return ;
252
269
253
270
var ctrlPressed = InputKeyboardSource . GetKeyStateForCurrentThread ( VirtualKey . Control ) . HasFlag ( CoreVirtualKeyStates . Down ) ;
0 commit comments