mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 11:06:37 +08:00
Update home.tsx
滑动由smooth 修改为 auto
This commit is contained in:
parent
c7d08a9911
commit
b7df7d1ade
@ -301,7 +301,7 @@ export function Chat(props: { showSideBar?: () => void }) {
|
|||||||
const dom = latestMessageRef.current;
|
const dom = latestMessageRef.current;
|
||||||
if (dom && !isIOS() && autoScroll) {
|
if (dom && !isIOS() && autoScroll) {
|
||||||
dom.scrollIntoView({
|
dom.scrollIntoView({
|
||||||
behavior: "smooth",
|
behavior: "auto",
|
||||||
block: "end",
|
block: "end",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user