From b981a939963878930780c2eb9b8f974fb4f80c6b Mon Sep 17 00:00:00 2001 From: Craig Allan-McWilliams Date: Tue, 16 Jun 2026 16:44:15 +0100 Subject: [PATCH] fix(chat): keep composer Send button reachable with many attachments The pasted-image grid and attached-file list in the composer had no height limit, and the app's root layout is overflow-hidden. With enough attachments the lists grew tall enough to push the input row and Send button below the viewport, with no scrollbar to reach them. Cap both lists at a viewport-relative max height with their own vertical scroll, so attachments scroll within their own area and the input + Send button stay visible at any window size. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/renderer/components/ChatView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ChatView.tsx b/src/renderer/components/ChatView.tsx index f0a922430..35384aae3 100644 --- a/src/renderer/components/ChatView.tsx +++ b/src/renderer/components/ChatView.tsx @@ -732,7 +732,7 @@ export function ChatView() { > {/* Image previews */} {pastedImages.length > 0 && ( -
+
{pastedImages.map((img, index) => (
0 && ( -
+
{attachedFiles.map((file, index) => (