Skip to content

Commit 1fadd47

Browse files
committed
Update ColumnLayoutPage.xaml.cs
1 parent 3ab05e4 commit 1fadd47

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,11 @@ private async void FileList_ItemTapped(object sender, TappedRoutedEventArgs e)
538538
else
539539
{
540540
CloseFolder();
541+
542+
// Clear selection when clicking empty area via touch
543+
// https://github.com/files-community/Files/issues/15051
544+
if (e.PointerDeviceType == PointerDeviceType.Touch)
545+
ItemManipulationModel.ClearSelection();
541546
}
542547
}
543548

0 commit comments

Comments
 (0)