Skip to content

[BUG] Chat scrolls to bottom after each part of received message #320

@fAtsteD

Description

@fAtsteD

Problem Description

When making a query, the bot starts streaming its response. However, the chat window auto-scrolls to the bottom after each part of the message, which makes it inconvenient to read the response while it is still being generated.

The user cannot begin reading until the full response is completed, since the chat view keeps jumping down. Afterwards, they have to scroll back up to re-read the beginning.

Steps to Reproduce

  1. Open chat and send a query.
  2. Wait for the bot to start streaming the answer.
  3. Try scrolling up to read the first part of the response while the bot is still typing.

Actual Behaviour

The chat window keeps auto-scrolling to the bottom as new text arrives.
User is forced to wait until the bot finishes before reading comfortably.

Expected Behaviour

The chat window should not force auto-scroll if the user has manually scrolled up.
Auto-scroll should only occur if the user is already at the bottom of the chat when new content arrives, or only when the first part is received.

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