vue-advanced-chat icon indicating copy to clipboard operation
vue-advanced-chat copied to clipboard

event fetch-more-rooms not working

Open Mohammad-Ravand opened this issue 1 year ago • 2 comments

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 avatar Oct 22 '23 16:10 Mohammad-Ravand

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

vlahde avatar Dec 27 '23 13:12 vlahde

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

jameswagoner avatar Apr 30 '24 16:04 jameswagoner