Skip to content

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

Closed

Description

@alexyaroshuk

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:

bug-tab-overflowed-file-viewer.mp4

Operating System

windows 10

Terminal

No response

Activity

  1. github-actions commented on Feb 1, 2026

    @github-actions
    Contributor

    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.

  2. github-actions commented on Apr 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions