-
-
Notifications
You must be signed in to change notification settings - Fork 490
@fetch-messages fired only when room is opened #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please use |
I've updated to version 2.0.1 but I am afraid the problem still remains: @fetch-messages is not fired when scrolled to the top. My web component is now like this:
the fetch is the same as previously |
Please try |
Actually there was indeed a bug, fixed in 8d87952 |
It works now! Thank you for the fix and thanks again for a great repo! |
Hi, @fetch-messages event is fired only once when I open the room. Also the chat window is not scrolled to the bottom of the page when first set of messages is loaded. I have tried to change the message amount being loaded but that does not help. Here is my component:
and here is the fetch:
Using Vue 3 installed
Expected behavior
The chat screen should be scrolled to the bottom and when scrolling to the top @fetch-messages should be fired again
The text was updated successfully, but these errors were encountered: