claude-code - 💡(How to fix) Fix [BUG] Cowork desktop: session switch during mid-generation lands at random mid-point instead of bottom [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#52726Fetched 2026-04-24 10:41:17
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

Error Messages/Logs

Root Cause

Frequency: Reproduces on session switch when a session is mid-generation. Not observed on idle-to-idle switches so far. More noticeable on longer conversations because the distance from the landing point to the bottom is larger.

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?

When switching between Cowork sessions on Claude Desktop while one is actively mid-generation, the conversation view for the session being opened lands at a random mid-point in the scroll history instead of at the bottom. The most recent messages are off-screen and require a manual scroll to reach. No "jump to bottom" button is presented by the UI.

This appears to be the same class of bug that was fixed for the VSCode extension in a recent release ("VSCode: Fixed scroll-to-bottom under-scrolling on initial session load and session switch"), just on a different client surface.

What Should Happen?

Switching into a Cowork session should land the scroll position at the bottom of the conversation, matching the behavior of Chat mode and the now-fixed VSCode extension.

Error Messages/Logs

Steps to Reproduce

Open Claude Desktop in Cowork mode Start a generation in one Cowork session While that generation is still in progress, switch to another existing Cowork session with enough history to require scrolling Observe the scroll position on load — lands at a random mid-point rather than the bottom

Frequency: Reproduces on session switch when a session is mid-generation. Not observed on idle-to-idle switches so far. More noticeable on longer conversations because the distance from the landing point to the bottom is larger.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude 1.3883.0 (93ff6c) 2026-04-21T17:24:01.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The issue can likely be fixed by implementing a "scroll-to-bottom" feature when switching between Cowork sessions on Claude Desktop, similar to the fix applied to the VSCode extension.

Guidance

  • Review the code changes made to fix the similar issue in the VSCode extension to understand the necessary modifications.
  • Investigate the scroll positioning logic in Claude Desktop's Cowork mode to identify where the issue is occurring.
  • Consider adding a "jump to bottom" button to the UI as a temporary workaround until the underlying issue is resolved.
  • Verify that the issue is specific to mid-generation session switches and not idle-to-idle switches to narrow down the cause.

Example

No code snippet is provided as the issue does not contain sufficient technical details to create a specific example.

Notes

The issue may be related to the Anthropic API or the macOS platform, but further investigation is needed to confirm. The fact that the issue is not observed on idle-to-idle switches suggests that the problem may be related to the generation process.

Recommendation

Apply workaround: Implement a temporary "jump to bottom" button to improve the user experience until the underlying issue can be fully resolved. This will provide a usable solution for users while the root cause is being investigated.

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