[BUG]: (app): Clicking on overflowed tab on the right in the file view/review section does not scroll it into view #8255

Open
opened 2026-02-16 18:09:32 -05:00 by yindo · 1 comment
Owner

Originally created by @alexyaroshuk on GitHub (Feb 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When file tabs overflow the visible area and a tab is partially hidden on the right side, clicking on it does not scroll the tab into full view. This makes the close button inaccessible.

This was identified by @jeremyakers in the follow-up discussion on #11013 - while PR #11070 added auto-scroll for newly opened tabs, it didn't address the case where users click on existing overflowed tabs to select them.

Related

Plugins

none

OpenCode version

1.1.48

Steps to reproduce

  1. Open multiple file tabs until they overflow the visible area
  2. Click on a partially-hidden tab on the right side
  3. Expected: Tab scrolls into full view, close button accessible
  4. Actual: Tab becomes active but remains partially hidden

Screenshot and/or share link

demo:

https://github.com/user-attachments/assets/581e890e-3af6-41a5-a497-d98b97d57b19

Operating System

windows 10

Terminal

No response

Originally created by @alexyaroshuk on GitHub (Feb 1, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When file tabs overflow the visible area and a tab is partially hidden on the right side, clicking on it does not scroll the tab into full view. This makes the close button inaccessible. This was identified by @jeremyakers in the follow-up discussion on #11013 - while PR #11070 added auto-scroll for newly opened tabs, it didn't address the case where users click on existing overflowed tabs to select them. ## Related - Original issue: #11013 - Previous partial fix: #11070 - Thanks to @jeremyakers for identifying this specific gap in the fix ### Plugins none ### OpenCode version 1.1.48 ### Steps to reproduce 1. Open multiple file tabs until they overflow the visible area 2. Click on a partially-hidden tab on the right side 3. **Expected:** Tab scrolls into full view, close button accessible 4. **Actual:** Tab becomes active but remains partially hidden ### Screenshot and/or share link demo: https://github.com/user-attachments/assets/581e890e-3af6-41a5-a497-d98b97d57b19 ### Operating System windows 10 ### Terminal _No response_
yindo added the windowsbug labels 2026-02-16 18:09:32 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

This issue appears to be a continuation of #11013: "Close" button not accessible to currently opened tab

While #11013 and the fix in #11070 addressed the auto-scroll for newly opened tabs, your issue identifies an important remaining gap: clicking on existing overflowed tabs to select them should also trigger the scroll-into-view behavior. This ensures the close button (and the full tab) becomes accessible regardless of whether the tab was recently opened or already existed.

Feel free to merge this with #11013 if the maintainers prefer to track it as a single issue.

@github-actions[bot] commented on GitHub (Feb 1, 2026): This issue appears to be a continuation of #11013: "Close" button not accessible to currently opened tab While #11013 and the fix in #11070 addressed the auto-scroll for newly opened tabs, your issue identifies an important remaining gap: clicking on existing overflowed tabs to select them should also trigger the scroll-into-view behavior. This ensures the close button (and the full tab) becomes accessible regardless of whether the tab was recently opened or already existed. Feel free to merge this with #11013 if the maintainers prefer to track it as a single issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8255