Fix desktop context menu rendering #280
Closedkrishkalaria12(GitHub profile, opens in a new tab)wants to merge 5 commits into
main fromrefs/pull/280/headopened View on GitHub- apps/web/src/contextMenuFallback.ts lines 40 to 47OutdatedResolvedby krishkalaria12(GitHub profile, opens in a new tab)@@ -36,4 +37,11 @@3637 }3738 }383939- overlay.addEventListener("mousedown", () => cleanup(null));40+ function onPointerDown(event: PointerEvent) {41+ if (!outsidePressEnabled) return;42+ const target = event.target;43+ if (target instanceof Node && menu.contains(target)) {44+ return;45+ }46+ cleanup(null);47+ }
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
maria-rcks added labelsenhancement
maria-rcks added labelsneeds-julius
maria-rcks assignedmaria-rcks
maria-rcks unassignedmaria-rcks
maria-rcks assignedkrishkalaria12
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XL
juliusmarminge closed this
Sign in to join this conversation.
@krishkalaria12 is attempting to deploy a commit to the Ping Labs Team on Vercel.
A member of the Team first needs to authorize it.