Skip to content

[feat]: Block auto-scroll when user has scrolled up in agent history #2006

@jpetot

Description

@jpetot

Feature Summary

When the agent is thinking or generating a response, the conversation auto-scrolls from the current point, making it very difficult to read earlier messages or the beginning of the agent's current thought.

Problem or Use Case

If the agent is thinking or talking, it make very difficult to read the begining of it's thought or a previous message due to auto scroll of the conversation.

Proposed Solution

Disable auto-scroll when the user has manually scrolled up (i.e., the scrollbar is not at the bottom). Auto-scroll should only resume once the user scrolls back to the bottom.
suggestion: mimic the vs code chat behavior.

Alternatives Considered

No response

Additional Context

I am using copilot, I don't know if this is the case for other CLI agent.
similar issue: #597

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions