From 514409814dec4bbaf85ab0e72dce827d31af9582 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 13 Jul 2026 14:42:15 +0800 Subject: [PATCH] fix: prevent chat attachments from scrolling out of view (#38846) --- .../base/chat/chat/chat-input-area/index.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/web/app/components/base/chat/chat/chat-input-area/index.tsx b/web/app/components/base/chat/chat/chat-input-area/index.tsx index 23ba8f89501..be122a43f89 100644 --- a/web/app/components/base/chat/chat/chat-input-area/index.tsx +++ b/web/app/components/base/chat/chat/chat-input-area/index.tsx @@ -309,8 +309,10 @@ const ChatInputArea = ({ disabled && 'pointer-events-none border-components-panel-border opacity-50 shadow-none', )} > -
+
+
+
{!isMultipleLine && operation}
- {showVoiceInput && speechToTextTarget && ( +
+ {showVoiceInput && speechToTextTarget && ( +
- )} -
+
+ )} {isMultipleLine &&
{operation}
}
{shouldShowFooterNotice && (