From 62f5cc54cf7b24723736c3ef88068b77f3dd0077 Mon Sep 17 00:00:00 2001 From: Hariz Date: Tue, 30 Sep 2025 21:58:54 -0400 Subject: [PATCH] Fix bug with context menu positioning on page load (#1636) * Fix bug with context menu positioning on page load * Fix double context menu bug on mobile --- src/gui/src/UI/UIDesktop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/src/UI/UIDesktop.js b/src/gui/src/UI/UIDesktop.js index 96b3715cd..2ba754fa8 100644 --- a/src/gui/src/UI/UIDesktop.js +++ b/src/gui/src/UI/UIDesktop.js @@ -835,6 +835,7 @@ async function UIDesktop(options) { if (event.target === el_desktop) { event.preventDefault(); UIContextMenu({ + position: event.type === 'taphold' ? undefined : { left: event.pageX, top: event.pageY }, items: [ // ------------------------------------------- // Sort by