Skip to content

Fetch more messages does not work with multiple chat windows #368

@NINI1988

Description

@NINI1988

Describe the bug

It is not possible to have multiple chat windows on the same page.
When there are multiple chat windows and you scroll up to the fetch more messages, only the first chat window will fetch new messages and will also trigger this event on the second chat window.
In the second chat window there will be no fetch more messages event when you scroll up.

We are using the chat component in multiple popup windows to communicate with multiple users at the same time.

Steps to reproduce

  1. Go to https://playcode.io/vac_multi_chats
  2. Scroll up the second chat window with the name Room 11 and no messages will be fetched
  3. Scroll up the first chat windows Room 10
  4. See that Room 10 and Room 11 will fetch new messages

Expected behavior

Each chat component should behave independent

Screenshots

Here is an example of our website:
grafik

Device (please complete the following information)

  • OS: Windows 11
  • Browser: Firefox 105, Chrome 106
  • Package version: 2.03

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions