mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-06 23:56:25 +08:00
chore: fix mobile scroll
This commit is contained in:
@@ -286,6 +286,7 @@ function useScrollToBottom() {
|
||||
const dom = scrollRef.current;
|
||||
if (dom && autoScroll) {
|
||||
setTimeout(() => (dom.scrollTop = dom.scrollHeight), 1);
|
||||
setAutoScroll(false);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user