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

@alexyaroshuk

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

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