Chat scrolls to top when Claude sends a message while user is scrolled mid-conversation
Resolved 💬 3 comments Opened Mar 15, 2026 by fr0stnk Closed Mar 19, 2026
Description
When having a long conversation with Claude Code, if I scroll up to review earlier messages (middle of the conversation), the chat jumps back to the top every time Claude sends a new message or tool result.
Expected behavior: the viewport should stay at the current scroll position when the user has scrolled away from the bottom. Auto-scroll to bottom should only happen when the user is already near the bottom of the chat.
Steps to reproduce
- Have a long conversation with Claude Code (enough messages to scroll)
- Scroll up to the middle of the conversation to review earlier messages
- Wait for Claude to send a new message (e.g. a tool result or response)
- The chat jumps to the top instead of staying at the current scroll position
Expected behavior
Chat should maintain scroll position when the user has scrolled up. Only auto-scroll to bottom when the user is already near the bottom.
Environment
- Windows 11 Pro
- Windows Terminal App
- PowerShell console
- Claude Code CLI
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗