Scroll infinite.

This commit is contained in:
retoor 2025-02-17 19:45:46 +01:00
parent 2e86ca2a3f
commit 1a608d8cfb

View File

@ -62,9 +62,9 @@
let scrollTop = messagesContainer.scrollTop;
let scrollableHeight = messagesContainer.scrollHeight - messagesContainer.clientHeight;
if (scrollTop > scrollableHeight / 5) {
return false;
}
//if (scrollTop > scrollableHeight / 5) {
// return false;
//}
return true;
}
let isLoadingExtra = false;