[BUG]
Resolved 💬 3 comments Opened Mar 16, 2026 by brandon-stride Closed Mar 20, 2026
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?
PostToolUse hooks cause terminal viewport to jump to top of scrollback when user has scrolled up to review previous output.
Reproducible with any PostToolUse hook. Statusline timer may also contribute.
What Should Happen?
If the user is in any section of the scroll bar, the PostToolUse should not move the user's position at all.
Error Messages/Logs
Steps to Reproduce
- Submit user message
- Scroll up the terminal session to review transcript.
- Wait for PostToolUse to fire
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.76 (Claude Code)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗