Skip to content

Tab close button becomes hidden behind the scrollbar, preventing quick closure #329319

Description

@Czj-czj

In the VS Code tab bar, when many files are open and the tab bar becomes horizontally scrollable, the close button on a tab may be scrolled out of the visible area or hidden behind the scrollbar. Users then have to scroll the tab bar or switch tabs before they can close the file, which reduces efficiency.

Steps to reproduce:

Open multiple files in VS Code until the tab bar overflows.
Scroll the tab bar so that a tab’s close button is near or behind the scrollbar.
Try to click the close button.
Actual result:
The close button is hidden, obstructed, or not quickly accessible.

Expected result:
The close button should remain accessible and should not be obscured by the scrollbar. It should stay correctly aligned with its tab while scrolling and remain clickable.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions