Scroll infinite.
This commit is contained in:
parent
104ee27766
commit
60efe6ee8a
@ -81,10 +81,12 @@
|
||||
if(isLoadingExtra){
|
||||
return
|
||||
}
|
||||
if(isScrolledPastHalf()){
|
||||
if(!isScrolledPastHalf()){
|
||||
return
|
||||
}
|
||||
isLoadingExtra = true
|
||||
|
||||
}
|
||||
|
||||
|
||||
const messages = await app.rpc.getMessages(channelUid, 1, firstMessage.dataset.created_at);
|
||||
messages.forEach((message) => {
|
||||
|
Loading…
Reference in New Issue
Block a user