Scroll to the top of the page until older messages are loaded in ajax
Expected behavior:
We are supposed to have infinite scroll as well as a loading animation to retrieve messages older than those displayed on first loading using ajax.
Actual behavior:
Nothing is happening: we are stuck at the top of the page and older messages are not loading.
Note: This works the very first time the channel loads! If you want to retrieve older messages on a channel you have already visited, you must refresh the page.
Server Setup Information:
Version of Rocket.Chat Server: 6.12.1
License Type: Community
Number of Users: 100-500
Operating System: Debian 11
Deployment Method: tar
Number of Running Instances: 1
DB Replicaset Oplog: 1
NodeJS Version: v14.21.3
MongoDB Version: 5.0.21
Client Setup Information
Desktop App or Browser Version: all latest browsers / applications
Description:
Hello,
When you visit a channel and come back to it, you can't load history: infinite scroll not working and you can't get previous messages.
This bug is reproduced on https://open.rocket.chat/ too and it's very annoying!
How can we fix that?
Thank you for your help!
Steps to reproduce:
Expected behavior:
We are supposed to have infinite scroll as well as a loading animation to retrieve messages older than those displayed on first loading using ajax.
Actual behavior:
Nothing is happening: we are stuck at the top of the page and older messages are not loading.
Note: This works the very first time the channel loads! If you want to retrieve older messages on a channel you have already visited, you must refresh the page.
Server Setup Information:
Version of Rocket.Chat Server: 6.12.1 License Type: Community Number of Users: 100-500 Operating System: Debian 11 Deployment Method: tar Number of Running Instances: 1 DB Replicaset Oplog: 1 NodeJS Version: v14.21.3 MongoDB Version: 5.0.21
Client Setup Information