Skip to content

Omnichannel Livechat: New long replies scroll to the bottom instead of the top/start of the message #37342

@mohammadZx

Description

@mohammadZx

When an agent sends a long reply message in an active Omnichannel Livechat session (via the Agent interface), the chat window automatically scrolls to the bottom of the newly displayed message content instead of scrolling to the top/start of the long message. This forces the end-user (visitor) to manually scroll up to read the beginning of the agent's long response.

Steps to Reproduce:

Start a new Livechat session (as a visitor on the widget).

Accept the chat as an Agent in the Rocket.Chat interface.

Send a very long message (e.g., paste a text block exceeding 5-10 lines) from the Agent interface.

Observe the scroll position in the Visitor's Livechat widget view.

Expected Behavior: The chat widget should automatically scroll to the beginning (top) of the newly received long message, allowing the user to read the content sequentially from the start.

Actual Behavior: The chat widget automatically scrolls to the end (bottom) of the newly received long message. The user must manually scroll up to see the beginning of the message.

Environment Information:

Rocket.Chat Server Version: Version 7.10.0

Deployment Method: Docker

Browser used by Agent (to send the message): Chrome 141.0.7390.122

Operating System (Agent/Visitor): windows & ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions