load previous when further away from top

This commit is contained in:
liamcottle 2024-08-08 13:21:10 +12:00
parent 81419ca44c
commit babe8eea52

View file

@ -428,7 +428,7 @@ export default {
this.autoScrollOnNewMessage = isAtBottom;
// load previous when scrolling near top of page
if(element.scrollTop <= 100){
if(element.scrollTop <= 500){
this.loadPrevious();
}