Skip to content
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

event fetch-more-rooms not working #482

Open
Mohammad-Ravand opened this issue Oct 22, 2023 · 2 comments
Open

event fetch-more-rooms not working #482

Mohammad-Ravand opened this issue Oct 22, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Mohammad-Ravand
Copy link

event @fetch-more-rooms not working with vue3

I want to fetch new rooms when scroll room section to bottom

this is my code:

<vue-advanced-chat
ref="chatInstance"
height="calc(100vh - 20px)"
:current-user-id="currentUserId"
:loading-rooms="false"
:rooms="JSON.stringify(rooms)"
:rooms-loaded="false"
:load-first-room="false"
@fetch-more-rooms="fetchRooms"
:messages="JSON.stringify(messages)"
:messages-loaded="messagesLoaded"
@send-message="sendMessage($event.detail[0])"
@roomClick="roomActionHandler($event.detail)"
@fetch-messages="fetchMessages($event.detail[0])" />

@Mohammad-Ravand Mohammad-Ravand added the bug Something isn't working label Oct 22, 2023
@vlahde
Copy link

vlahde commented Dec 27, 2023

I am having the same issue. Help would be appreciated!

@jameswagoner
Copy link

Bump as this is happening for me. Also must be related to #527 since it's the same scrolling behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants