[BUG] 01-BUG-bash-output-scroll-regression
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?
Bug Report: Bash Output Scroll Position Regression in Fullscreen Mode
Reported: 2024-11-12
Reporter: Bruce (@energyscholar)
Severity: Medium
Component: Bash Output Panel / UI
Environment: ChromeOS + Linux Container
---
Summary
In fullscreen mode, the bash output panel intermittently scrolls to top during command execution, making it impossible to monitor long-running processes. Issue does not occur in windowed mode.
---
Reproduction
Prerequisites:
- Claude Code in Chrome browser (ChromeOS)
- Fullscreen mode (F11 or browser fullscreen)
Steps:
- Enter fullscreen mode
- Execute long-running bash command (e.g.,
npm start,tail -f logfile) - Observe scroll position
Expected: Scroll stays at bottom (auto-follow) or maintains user position
Actual: Scroll jumps to top repeatedly as new output arrives
Reproduction Rate: 100% in fullscreen, 0% in windowed mode
---
Technical Details
Environment:
OS: ChromeOS (Chromebook Plus 514)
Container: Debian Linux 6.6.88-08646-g082267a5c5ac
Browser: Chrome (ChromeOS native)
Shell: bash 5.2.15(1)-release
Node: v18.20.4
npm: 9.2.0
Claude Code: 2.0.37
Hypothesis:
Scroll behavior not tested in fullscreen on ChromeOS/Linux. Possible viewport calculation issue when browser chrome hidden.
---
Impact
User Impact:
- Cannot monitor streaming logs (dev servers, builds, tests)
- Manual scroll-down required every 1-2 seconds
- Workaround: exit fullscreen or use external terminal
Business Impact:
- Reduced developer productivity
- Poor UX for legitimate use case (fullscreen focus mode)
---
Suggested Fix
Investigate scroll anchor behavior when:
- Browser in fullscreen mode
- Viewport dimensions change (fullscreen transition)
- New content appended to bash output
Standard terminal behavior: scroll-lock to bottom unless user scrolls up manually.
---
Submission Checklist
- [ ] Verify issue still present (test fullscreen mode)
- [x] Claude Code version added: 2.0.37
- [ ] Submit to: https://github.com/anthropics/claude-code/issues
- [ ] Record issue URL:
____________________
---
Contact: @energyscholar on GitHub
Project Context: Traveller Combat VTT (Node.js/React)
File: /home/bruce/software/bug_reports_claude/01-BUG-bash-output-scroll-regression.md
What Should Happen?
Detailed in above bug report
Error Messages/Logs
Detailed in bug report
Steps to Reproduce
Detailed in bug report. Complicated.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.37 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
Should all be in the bug report. These came up a few days ago. Claude suggested I should send them in immediately.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗