Skip to content

fetch-more-rooms event is not execute #555

@marshall-li

Description

@marshall-li

Describe the bug

fetch-more-rooms event is not execute.

Steps to reproduce

<vue-advanced-chat
style="width: 100%; height: 100%; display: block"
class="vue-advanced-chat"
:current-user-id="currentUserId"
:rooms="JSON.stringify(rooms)"
:messages="JSON.stringify(messages)"
:username-options="JSON.stringify(usernameOptions)"
@fetch-more-rooms="fetchMoreRooms"
@send-message="sendMessage"
@edit-message="editMessage"
@send-message-reaction="sendMessageReaction"
:loading-rooms="false"
:rooms-loaded="false"
:load-first-room="false"
:messages-loaded="messagesLoaded"
@active-room="handleRoomChange"
@fetch-messages="fetchMessagesHandle"
@open-file="openFile"
:auto-scroll="JSON.stringify(autoScroll)"
:show-new-messages-divider="JSON.stringify(false)"
@open-failed-message="openFailedMessage"
>

fetchMoreRooms(e){
  console.log('fetchMoreRooms',e);
},

Expected behavior

I can see the log in the devtools.but now i can't.

Screenshots

Image

Device (please complete the following information)

  • OS: windows 11
  • Browser: Chrome 133.0.6943
  • Package version: 2.1.0

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions