converse.js
converse.js copied to clipboard
Messages are not loaded from archive if there is no scrollbar
Describe the bug Messages are not loaded from archive if there is no scrollbar
To Reproduce Steps to reproduce the behavior:
- Open a chat with a contact
- Scroll up to load previous messages from archive
Expected behavior Previous messages are loaded from archive
Actual behavior - messages are not loaded from archive
Screenshots When you open a chat with a contact, last few messages are loaded. All previous messages should be loaded by scrolling up.
But scrolling up doesn't work if the amount of last messages is not enough for scrollbar to appear.
If I resize the browser window until the scrollbar appears then scrolling up starts working and previous messages are loaded successfully.
Environment (please complete the following information):
- Desktop
- Firefox
- Converse.js version 8.0.1
Additional context
The setting archived_messages_page_size is the default (50). The number of actually displayed messages is lower because some of the messages are delivery reports and calls.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.