Scroll infinite.
This commit is contained in:
parent
3230c9f93b
commit
6c58f4b26c
@ -62,7 +62,7 @@
|
||||
let scrollTop = messagesContainer.scrollTop;
|
||||
let scrollableHeight = messagesContainer.scrollHeight - messagesContainer.clientHeight;
|
||||
|
||||
if (scrollTop < scrollableHeight / 2) {
|
||||
if (scrollTop < scrollableHeight / 4) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user