Scroll infinite.

This commit is contained in:
retoor 2025-02-17 19:44:31 +01:00
parent c77d2fb782
commit 2e86ca2a3f

View File

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