diff --git a/src/Files.App/Views/Layouts/BaseLayoutPage.cs b/src/Files.App/Views/Layouts/BaseLayoutPage.cs index 9ca1d77258b1..8bd6ba31c543 100644 --- a/src/Files.App/Views/Layouts/BaseLayoutPage.cs +++ b/src/Files.App/Views/Layouts/BaseLayoutPage.cs @@ -1114,6 +1114,12 @@ protected virtual async void Item_Drop(object sender, DragEventArgs e) // Reset dragged over item dragOverItem = null; + if (e.Modifiers == DragDropModifiers.RightButton) + { + // Show context menu... #1396 + deferral.Complete(); + } + var item = GetItemFromElement(sender); if (item is not null) await ParentShellPageInstance!.FilesystemHelpers.PerformOperationTypeAsync(e.AcceptedOperation, e.DataView, (item as ShortcutItem)?.TargetPath ?? item.ItemPath, false, true, item.IsExecutable, item.IsScriptFile);