From 3822db3e2aa2f255981bfb7a55c7b34db8868251 Mon Sep 17 00:00:00 2001 From: chengyongru Date: Wed, 12 Aug 2026 10:27:57 +0800 Subject: [PATCH] fix(webui): refine pane move focus state --- webui/src/components/workbench/PaneWorkbench.tsx | 6 ++++-- webui/src/globals.css | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/webui/src/components/workbench/PaneWorkbench.tsx b/webui/src/components/workbench/PaneWorkbench.tsx index e3b5f62df..1be472324 100644 --- a/webui/src/components/workbench/PaneWorkbench.tsx +++ b/webui/src/components/workbench/PaneWorkbench.tsx @@ -719,12 +719,13 @@ export function PaneWorkbench({ }) : undefined} aria-keyshortcuts={active ? "ArrowLeft ArrowRight ArrowUp ArrowDown" : undefined} data-workbench-pane-action + data-workbench-move-handle data-testid={`pane-move-handle-${pane.key}`} onPointerDown={(event) => handleMovePointerDown(pane.key, event)} onKeyDown={(event) => handleMoveKeyDown(pane.key, event)} className={cn( "group host-no-drag absolute bottom-0 left-1/2 z-30 flex h-6 w-12 -translate-x-1/2 touch-none items-center justify-center rounded-full", - "cursor-grab focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background active:cursor-grabbing", + "cursor-grab focus-visible:outline-none active:cursor-grabbing", "transition-opacity duration-100 motion-reduce:transition-none", active ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0", )} @@ -732,7 +733,8 @@ export function PaneWorkbench({