Scroll infinite.
This commit is contained in:
parent
2e86ca2a3f
commit
1a608d8cfb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user