Skip to content

Narrow tab strip pinned to its tab's end shows only the close button #41386

Open

Description

@AmethystLiang

What happens

A tab strip that is narrower than its only tab can end up scrolled to the end of that tab. Its visible slice is then mostly the tab's close "×". Pressing there closes the tab instead of starting a drag, and only about 20px of the slice can be grabbed.

Repro (macOS, 1280×800): three columns, right sidebar closed, root split 80/20, then 60/40. The middle strip (about 149px wide, 44px for tabs) sits at scrollLeft 100 of 144, showing the close button. main behaves the same.

The cause is the strip's stick-to-end scroll behaviour (tab-strip-overflow-navigation.ts). A strip that starts out scrolled to the end stays pinned there as the strip shrinks or a label changes, which suits a multi-tab strip but leaves a single, wider-than-strip tab showing only its trailing close button.

Related: at normal width, a tab wider than its strip has its close button clipped inside the strip's scroll area, and focusing it with the keyboard does not scroll it into view.

Follow-up from the UX review of #41249.

Activity

  1. AmethystLiang commented on Nov 12, 2026

    @AmethystLiang
    ContributorAuthor

    Triage: assigning to Jinjing: this is about tab strip layout and grabbability, which is general app UI.

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

Metadata

Metadata

Assignees

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