Skip to content

Bug: Returning from a threaf view doesn't show the previous scroll state. #1177

@DammyCodes-all

Description

@DammyCodes-all

Description:

When viewing a message thread and then returning to the main chat using the top-left back arrow, the message list jumps to very old/top messages instead of returning to the previous position in the main conversation.

Steps to reproduce:

  1. Open EmbeddedChat in a channel with enough history to scroll.
  2. Scroll in the main chat away from the latest messages.
  3. Open a message thread from any message.
  4. Click the top-left back arrow to close the thread and return to main chat.

Expected behavior:

Returning from thread view should restore the previous main-chat scroll position (or at least keep the user near where they were before opening the thread), without jumping to old/top messages.

Actual behavior:

After closing the thread, the main chat shows very old messages near the top of history instead of the previous position. In some cases, this also triggers loading older messages immediately.

Screencast.from.2026-03-02.22-04-58.mp4

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