mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-24 04:06:39 +08:00
check scroll on hit bottom
This commit is contained in:
parent
3f79e0879b
commit
8ec222b5e4
@ -961,7 +961,8 @@ function _Chat() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setHitBottom(isHitBottom);
|
setHitBottom(isHitBottom);
|
||||||
setAutoScroll(isHitBottom);
|
let isAutoScrollEnabled: boolean = config.autoScrollMessage;
|
||||||
|
setAutoScroll(isAutoScrollEnabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
function scrollToBottom() {
|
function scrollToBottom() {
|
||||||
|
Loading…
Reference in New Issue
Block a user