From 8d8a2fd3bdc02a774941fa5f286512a6bcc1d0c6 Mon Sep 17 00:00:00 2001 From: Wes Date: Wed, 1 Apr 2026 15:24:44 -0700 Subject: [PATCH] Prevent tab name text from being selectable (#67) Add select-none to the tab container className, consistent with how other interactive elements like dropdown menus are styled. Co-authored-by: Claude Opus 4.6 --- ui/goose2/src/features/tabs/ui/TabBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/goose2/src/features/tabs/ui/TabBar.tsx b/ui/goose2/src/features/tabs/ui/TabBar.tsx index 5716b9a8ec..e1563b73bc 100644 --- a/ui/goose2/src/features/tabs/ui/TabBar.tsx +++ b/ui/goose2/src/features/tabs/ui/TabBar.tsx @@ -52,7 +52,7 @@ export function TabBar({ } }} className={cn( - "group flex h-7 cursor-pointer items-center gap-1.5 rounded-md pl-3 pr-1.5 text-xs transition-colors", + "group flex h-7 cursor-pointer select-none items-center gap-1.5 rounded-md pl-3 pr-1.5 text-xs transition-colors", tab.id === activeTabId ? "bg-background-secondary text-foreground" : "text-foreground-secondary hover:bg-background-secondary/50 hover:text-foreground",