From cf525689476424163b0a594ca6f8d1a1dcbc2fd7 Mon Sep 17 00:00:00 2001 From: thzxx Date: Fri, 12 Jun 2026 15:07:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8appendAssistantPlaceholder?= =?UTF-8?q?=E5=89=8D=E5=86=8D=E6=AC=A1enableAutoScroll=EF=BC=8C=E9=98=B2?= =?UTF-8?q?=E6=AD=A2renderMessages=E7=9A=84DOM=E4=BA=8B=E4=BB=B6=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E6=BB=9A=E5=8A=A8=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/components/input-area.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/components/input-area.ts b/src/renderer/components/input-area.ts index f5706fd..276e93f 100644 --- a/src/renderer/components/input-area.ts +++ b/src/renderer/components/input-area.ts @@ -880,6 +880,7 @@ async function sendMessageWithAgentLoop(text: string, currentSession: ChatSessio clearToolCardsExternal(); clearTerminalExternal(); + enableAutoScroll(); // renderMessages 的 DOM 操作可能触发 scroll 事件导致 autoScroll=false appendAssistantPlaceholder(); state.set(KEYS.IS_STREAMING, true); updateSendButton(true);