From de173a6a1ca6d3c76be2d6e350c87c61b0c5757b Mon Sep 17 00:00:00 2001 From: ciregenz Date: Thu, 18 Jun 2026 01:55:40 -0700 Subject: [PATCH] [eric] dashboard: body clicks select an unselected browser (webview passes them through) --- frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx b/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx index 22e0b17c..bf0238e1 100644 --- a/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx +++ b/frontend/src/app/pages/Dashboard/cards/BrowserCard.tsx @@ -1199,6 +1199,10 @@ const BrowserCard: React.FC = ({ border: 'none', visibility: tab.id === activeTabId ? 'visible' : 'hidden', zIndex: tab.id === activeTabId ? 1 : 0, + // Unselected: ignore host clicks so the select-catcher above actually gets + // them (a webview paints over plain DOM and would swallow them); the agent + // drives the page over CDP, which bypasses this, so agents are unaffected. + pointerEvents: isSelected ? 'auto' : 'none', }} /> ))} @@ -1320,7 +1324,7 @@ const BrowserCard: React.FC = ({