claude-code - 💡(How to fix) Fix [BUG] Desktop app: chat window auto-scrolls to bottom during streaming even when user has scrolled up [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53382Fetched 2026-04-26 05:17:17
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2cross-referenced ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

This affects the Claude Code Desktop app on Windows (not the CLI / terminal version).

While Claude is streaming a response (token-by-token / phrase-by-phrase), the chat window force-scrolls to the bottom on every update. This happens even when I have explicitly scrolled up to read earlier content — including scrolling all the way to the top of the conversation. The viewport is yanked back down on every new chunk, making it impossible to read previous messages while a response is being generated.

This started in recent versions; older builds of the desktop app did not behave this way.

What Should Happen?

Standard "sticky bottom" behavior used in terminals, chat apps and IDE chat panels:

  • If the user is at the bottom of the scroll container, auto-scroll to follow new streaming content.
  • If the user has scrolled up beyond that threshold, do NOT auto-scroll. Leave the viewport exactly where the user put it.
  • Optional: show a "jump to bottom" button / new-message indicator so the user can opt back in with a single click.

This is the same UX that was already shipped for the VSCode extension via issue #11092 ("Auto-scroll should pause when user scrolls up in chat", closed completed on 2025-11-12). The desktop app appears to be missing that fix (or has regressed it).

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code Desktop app on Windows.
  2. Send a prompt that produces a long streamed response (e.g. ask for a detailed explanation, or run an agent task that emits a lot of streaming output).
  3. While the response is still streaming, scroll up to read an earlier part of the conversation — even all the way to the top.
  4. Observe: the viewport jumps back toward the bottom on every new chunk the model emits. There is no way to keep the viewport stationary until streaming finishes.

Expected: viewport stays where the user put it. Actual: viewport is yanked down on every streaming update.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

app-1.3561.0

Claude Code Version

app-1.4758.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

extent analysis

TL;DR

The issue can be fixed by implementing a "sticky bottom" behavior in the Claude Code Desktop app, which pauses auto-scrolling when the user scrolls up in the chat window.

Guidance

  • Review the fix implemented for issue #11092 in the VSCode extension, which achieved the desired "sticky bottom" behavior, and consider applying a similar solution to the desktop app.
  • Verify that the issue is indeed a regression by testing the last working version (app-1.3561.0) and comparing its behavior to the current version (app-1.4758.0).
  • Investigate the scrolling logic in the desktop app's code to identify what causes the viewport to jump back to the bottom on every new chunk of streaming content.
  • Consider adding a "jump to bottom" button or new-message indicator to allow users to opt back into auto-scrolling with a single click.

Example

No code snippet is provided as the issue does not include specific code references.

Notes

The issue seems to be a regression, and the fix implemented for the VSCode extension may be a good starting point for resolving the issue in the desktop app.

Recommendation

Apply a workaround by downgrading to the last working version (app-1.3561.0) until the issue is fixed in a future update, as the current version (app-1.4758.0) exhibits the undesirable behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Desktop app: chat window auto-scrolls to bottom during streaming even when user has scrolled up [2 comments, 2 participants]