From 950da45e4a02151ecbcb56d86879f41a2c0b4cbd Mon Sep 17 00:00:00 2001 From: AndyMik90 Date: Wed, 11 Feb 2026 13:59:25 +0100 Subject: [PATCH] fix(terminal): make worktree dropdown scrollable and show all items Replace Radix ScrollArea with a plain overflow-y-auto div and increase max height from 300px to min(500px, 60vh). The Radix ScrollArea wasn't scrolling properly, causing task worktrees (209, 210, 211) to be hidden below the fold with no visible scrollbar on macOS. Co-Authored-By: Claude Opus 4.6 --- .../src/renderer/components/terminal/WorktreeSelector.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/frontend/src/renderer/components/terminal/WorktreeSelector.tsx b/apps/frontend/src/renderer/components/terminal/WorktreeSelector.tsx index 75987cab..3739f803 100644 --- a/apps/frontend/src/renderer/components/terminal/WorktreeSelector.tsx +++ b/apps/frontend/src/renderer/components/terminal/WorktreeSelector.tsx @@ -17,7 +17,6 @@ import { AlertDialogHeader, AlertDialogTitle, } from '../ui/alert-dialog'; -import { ScrollArea } from '../ui/scroll-area'; import { cn } from '../../lib/utils'; import { useProjectStore } from '../../stores/project-store'; @@ -459,7 +458,7 @@ export function WorktreeSelector({
{/* Scrollable results */} - +
{isLoading ? (
@@ -507,7 +506,7 @@ export function WorktreeSelector({ )}
- +