From fdfe014ae04986f4013abbb432ac17b1c0319d04 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Wed, 17 Jun 2026 23:13:01 -0700 Subject: [PATCH] [eric] dashboard: select/drag a browser card from its whole body, not just the header --- .../src/app/pages/Dashboard/cards/BrowserCard.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx b/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx index 7fce9c06..22e0b17c 100644 --- a/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx +++ b/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx @@ -1118,6 +1118,21 @@ const BrowserCard: React.FC = ({ {/* Browser body: stacked webviews */} + {/* Select-then-interact: the body is a live webview that swallows clicks, so + only the header used to select/drag the card. While the card is unselected + (and not cmd-panning or element-picking) lay a transparent catcher over the + body: a plain click bubbles to the card onClick (select), a drag runs the + same move handler as the header. It lifts the instant the card is selected, + so the page goes live again. Sits above the webview but below the end/crash + pills (z5/z6) and the agent overlay (z16) so it never steals their clicks. */} + {!isSelected && !cmdHeld && !isElementSelectMode && ( + + )} {isElementSelectMode && ( )}