mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-13 20:53:45 +08:00
check scroll on hit bottom
This commit is contained in:
@@ -961,7 +961,8 @@ function _Chat() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setHitBottom(isHitBottom);
|
setHitBottom(isHitBottom);
|
||||||
setAutoScroll(isHitBottom);
|
let isAutoScrollEnabled: boolean = config.autoScrollMessage;
|
||||||
|
setAutoScroll(isAutoScrollEnabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
function scrollToBottom() {
|
function scrollToBottom() {
|
||||||
|
|||||||
Reference in New Issue
Block a user