From 439778c8750c48c1676a3e18c373e6794d7038a0 Mon Sep 17 00:00:00 2001 From: weishu Date: Mon, 22 Dec 2025 18:11:07 +0800 Subject: [PATCH] fix(web): enable auto-scroll and add key prop to HappyThread component --- web/src/components/AssistantChat/HappyThread.tsx | 2 +- web/src/components/SessionChat.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/components/AssistantChat/HappyThread.tsx b/web/src/components/AssistantChat/HappyThread.tsx index aa2c01fd..bd795d1a 100644 --- a/web/src/components/AssistantChat/HappyThread.tsx +++ b/web/src/components/AssistantChat/HappyThread.tsx @@ -32,7 +32,7 @@ export function HappyThread(props: { onRetryMessage: props.onRetryMessage }}> - +
{props.header}
diff --git a/web/src/components/SessionChat.tsx b/web/src/components/SessionChat.tsx index a6ad8e75..c310cc8d 100644 --- a/web/src/components/SessionChat.tsx +++ b/web/src/components/SessionChat.tsx @@ -193,6 +193,7 @@ export function SessionChat(props: {