From b7df7d1ade6212cb60348b9ca8b9a6c22571dcc0 Mon Sep 17 00:00:00 2001 From: wangfang <836051006@qq.com> Date: Wed, 29 Mar 2023 15:58:15 +0800 Subject: [PATCH] Update home.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 滑动由smooth 修改为 auto --- app/components/home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index 70b92633f..eece6c67b 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -301,7 +301,7 @@ export function Chat(props: { showSideBar?: () => void }) { const dom = latestMessageRef.current; if (dom && !isIOS() && autoScroll) { dom.scrollIntoView({ - behavior: "smooth", + behavior: "auto", block: "end", }); }