From 4000d482d57ef660c77c675bdd4f6ddb044d981d Mon Sep 17 00:00:00 2001 From: digvijay208 Date: Wed, 15 Jul 2026 01:05:20 +0530 Subject: [PATCH] fix(command-center): question prompt no longer blocks thread scroll When a question/permission prompt appeared in a Command Center cell, the ComposerSlot wrapper had shrink-0, preventing the flex parent from keeping the ThreadView visible. Combined with ActionSelector's max-h-[80vh] (80% of the viewport, not the cell), the question card could consume the entire compact cell, making it impossible to scroll up to see past messages. Fix: in compact mode, drop shrink-0 and cap the slot at max-h-[50%] of the parent. The question prompt scrolls internally via overflow-y-auto if it's taller than half the cell, while the ThreadView above remains accessible. Non-compact behavior is unchanged. Fixes #2510 --- .../ui/src/features/sessions/components/SessionView.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/features/sessions/components/SessionView.tsx b/packages/ui/src/features/sessions/components/SessionView.tsx index d9236f3a1d..163f19fbc4 100644 --- a/packages/ui/src/features/sessions/components/SessionView.tsx +++ b/packages/ui/src/features/sessions/components/SessionView.tsx @@ -137,7 +137,13 @@ function ComposerSlot({ children: React.ReactNode; }) { return ( - + {children} );