[BUG] Returning to a session doesn't scroll to the latest message if a reply arrived while viewing another session
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
While a session was still generating a response, I switched to a different session to do other work. When I switched back to the original session after its response had finished, the view did not scroll to the newest message — it stayed at roughly the same scroll position I had left it at, so the latest reply wasn't visible until I manually scrolled down.
What Should Happen?
When returning to a session with new messages that arrived while away, the view should automatically scroll to the latest message.
Error Messages/Logs
Steps to Reproduce
- Start a request in Session A that takes a while to respond
- While waiting, switch to Session B and work there
- Once Session A's response has completed, switch back to Session A
- The view shows an earlier point in the conversation instead of jumping to the latest message
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code Desktop App (Mac) — version unknown (not the CLI, no claude --version available)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Using Claude Code Desktop App for Mac (not CLI in terminal). macOS 26.5.2.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗