From bf561186fb3a27a458e6330804a540de2371aa3a Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Wed, 22 Jul 2026 14:56:03 +0200 Subject: [PATCH] fix(terminal): suppress competing context menus Stop contextmenu propagation after recognizing selected xterm output so the native browser overlay cannot block Copy. --- apps/web/src/components/features/terminal/terminal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/components/features/terminal/terminal.tsx b/apps/web/src/components/features/terminal/terminal.tsx index 7ff8b57..c5d1d89 100644 --- a/apps/web/src/components/features/terminal/terminal.tsx +++ b/apps/web/src/components/features/terminal/terminal.tsx @@ -498,6 +498,8 @@ export const TerminalComponent = React.forwardRef( } event.preventDefault(); + event.stopImmediatePropagation(); + event.stopPropagation(); setCopyMenu({ x: event.clientX, y: event.clientY, text: selection }); };