From ccc4ee6053719da50fef8cb4ec6a4109c5bbc3d6 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Thu, 12 Nov 2026 14:51:13 -0800 Subject: [PATCH] fix(browser): clip the narrow browser toolbar without making it scrollable overflow-hidden still made the browser overlay slot a scroll container, so tabbing to a toolbar control clipped in a narrow group scrolled the toolbar and page sideways with no way back. overflow-clip clips the same way without a scroll position. --- .../BrowserPaneOverlayLayer.tsx | 4 +- ...-group-divider-narrow-browser-drag.spec.ts | 41 +++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx index a96c36dd36c..4261c7e243c 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx @@ -100,8 +100,8 @@ const BrowserOverlaySlot = memo(function BrowserOverlaySlot({ return (