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

  1. Have a long conversation with Claude Code (enough messages to scroll)
  2. Scroll up to the middle of the conversation to review earlier messages
  3. Wait for Claude to send a new message (e.g. a tool result or response)
  4. 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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗