claude-code - 💡(How to fix) Fix Persist chat scroll position across session switches in the desktop app (affects both Claude Code and Claude Chat tabs) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#50845Fetched 2026-04-20 12:11:28
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4renamed ×1

Error Message

Error Messages/Logs

Root Cause

Edit: filing this as UX feedback / enhancement rather than a bug. I originally reported this against the Claude Code tab only, but after re-testing the same behavior happens in the Claude Chat tab too, so it is almost certainly intentional. Leaving the report up as feedback because I still find it unintuitive. Title and body updated accordingly.

RAW_BUFFERClick to expand / collapse

Edit: filing this as UX feedback / enhancement rather than a bug. I originally reported this against the Claude Code tab only, but after re-testing the same behavior happens in the Claude Chat tab too, so it is almost certainly intentional. Leaving the report up as feedback because I still find it unintuitive. Title and body updated accordingly.

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?

In the Claude Desktop app on Windows, switching between sessions does not preserve the chat scroll position. If I scroll up in session A to read earlier messages, then switch to session B, when I come back to session A the view has been reset to the very bottom (last message) instead of remembering where I left off.

This happens in both the Claude Code and Claude Chat tabs of the desktop app — so it appears to be app-wide intended behavior, not a tab-specific bug. Filing as UX feedback regardless because it breaks the expectation set by basically every other chat app (Slack, Discord, iMessage, Telegram, WhatsApp, …).

What Should Happen?

The scroll position of each session should persist across session switches. Returning to a session should restore the exact scroll offset I had when I left it, not jump to the bottom.

Error Messages/Logs

Steps to Reproduce

  1. Open the Claude Desktop app on Windows 11.
  2. In either the Claude Code or Claude Chat tab, open session A — any session with enough messages to scroll.
  3. Scroll up several screens (not at the bottom).
  4. Switch to session B (or any other session).
  5. Switch back to session A.
  6. Observed: the view is scrolled to the bottom (last message).
  7. Expected: the view is still where step 3 left it.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude Desktop app v1.2773.0.0 (Windows MSIX). Applies to both the Claude Code tab and the Claude Chat tab in the desktop app — not the CLI.

Platform

Other

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The issue can be addressed by implementing a feature to persist scroll positions across session switches in the Claude Desktop app.

Guidance

  • To fix this issue, the app needs to store the scroll position of each session when switching away from it, and then restore that position when switching back.
  • The development team can verify this fix by following the steps to reproduce and checking if the scroll position is preserved after switching sessions.
  • A potential workaround could be to use a separate chat window or tab for each session, although this may not be a scalable solution.
  • The team should consider user expectations and industry standards when designing the scrolling behavior, as the current behavior is unintuitive compared to other chat apps.

Example

No code example is provided as the issue does not specify the programming language or framework used in the Claude Desktop app.

Notes

The issue is reported as a UX feedback rather than a bug, and the fix would require intentional design and implementation changes to the app.

Recommendation

Apply a workaround, such as using separate chat windows or tabs for each session, until the development team can implement a feature to persist scroll positions across session switches. This is because the current behavior is unintuitive and may cause user frustration.

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