Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
This repository was archived by the owner on May 15, 2026. It is now read-only.

[BUG] Diff view does not auto-scroll to bottom when streaming long content #10142

Description

@village-way

Problem (one or two sentences)

When streaming long content into the diff view, the editor does not automatically scroll to follow the bottom of the content being written, making it difficult to see the latest changes in real-time.

Context (who is affected and when)

This affects all users when using Roo Code's diff view feature to review AI-generated code changes. The issue is most noticeable when:

  • The AI generates or streams a large amount of content (hundreds or thousands of lines)
  • Users want to see the latest changes as they are being written
  • The content extends beyond the visible viewport

Reproduction steps

  1. Open Roo Code extension in VS Code
  2. Start a task that generates a large code diff (e.g., generate a new file with many lines or modify an existing file with extensive changes)
  3. Observe the diff view as content is being streamed
  4. Notice that the view does not automatically scroll to show the latest content at the bottom

Expected result

The diff view should automatically scroll to the bottom (or near the bottom) as new content is being streamed, allowing users to see the latest changes in real-time without manual scrolling.

Actual result

The diff view remains static at the top or middle of the document, requiring users to manually scroll down to see the latest content being written.

Variations tried (optional)

No response

App Version

3.36.7

API Provider (optional)

Anthropic

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions