GeezerVison is showing github.com — Titlebar chips clipped when activating an offscreen leading tab · Issue #53412 · anomalyco/opencode
Titlebar chips clipped when activating an offscreen leading tab #53412
Description
Problem
Clicking a session tab that is scrolled out of view to the left also clips the v2 titlebar chips on the left (the Lite network badge / channel indicator). Clicking tabs already in view is fine.
Cause
titlebar.tsx calls el.scrollIntoView({ behavior: "instant" }) on tab navigation with default block: "start". That scrolls every overflow ancestor vertically as well. The titlebar row is overflow-hidden / overflow-x-auto, so its scrollTop gets pushed up and the chips are clipped.
Introduced in #30886.
Repro
- Narrow window, open enough session tabs that the strip overflows horizontally.
- Activate a trailing tab so the leading tabs are offscreen.
- Click a leading tab.
Expected: only horizontal scroll. Actual: the titlebar content is also scrolled vertically and chips are cut off.
Fix
Pass block: "nearest", inline: "nearest" (and optionally overflow-y-hidden on the horizontal strip) so only the necessary axis scrolls.
Activity
github-actions commented on Oct 5, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
- Please use the Bug Report template and put the report under its required Description field; the current issue uses a custom Problem heading.
Please edit this issue to address the above within 72 hours, or it will be automatically closed.
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commented on Oct 8, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 72-hour window.
Feel free to open a new issue that follows our issue templates.
Metadata
Metadata
Development
No branches or pull requestsIssue actions