Conversation
🎩 PreviewA preview build has been created at: |
This was referenced Sep 22, 2026
Draft
Collaborator
Author
This was referenced Sep 22, 2026
camielvs
force-pushed
the
09-21-fix_workarea_tabs_scroll_sideways
branch
from
September 23, 2026 20:57
09d5ebd to
5182a25
Compare
camielvs
force-pushed
the
09-21-feat_instructions_as_a_project_document
branch
from
September 23, 2026 20:57
d522246 to
46e8d15
Compare
This was referenced Sep 23, 2026
camielvs
force-pushed
the
09-21-feat_instructions_as_a_project_document
branch
from
September 23, 2026 23:00
46e8d15 to
e18014e
Compare
camielvs
force-pushed
the
09-21-fix_workarea_tabs_scroll_sideways
branch
2 times, most recently
from
September 23, 2026 23:36
6ad032a to
36c0bf5
Compare
camielvs
force-pushed
the
09-21-feat_instructions_as_a_project_document
branch
from
September 23, 2026 23:36
e18014e to
d1fbc46
Compare
camielvs
force-pushed
the
09-21-fix_workarea_tabs_scroll_sideways
branch
from
September 23, 2026 23:57
36c0bf5 to
2b92f93
Compare
camielvs
force-pushed
the
09-21-feat_instructions_as_a_project_document
branch
from
September 23, 2026 23:57
d1fbc46 to
4f79242
Compare
A workarea with enough tabs open grew a vertical scrollbar inside a bar one tab tall. `overflow-x-auto` is the only thing either strip asks for, but a box with one axis set to something other than `visible` computes the other to `auto`, and the horizontal scrollbar then eats into the strip's fixed height — so the tabs overflowed downwards by the height of their own scrollbar, and got a second scrollbar to reach it. Both strips say what they are through one named class instead, which is where the reason lives. The chat strip had the same fault and the same fix. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
camielvs
force-pushed
the
09-21-feat_instructions_as_a_project_document
branch
from
September 24, 2026 00:13
4f79242 to
6a3458a
Compare
camielvs
force-pushed
the
09-21-fix_workarea_tabs_scroll_sideways
branch
from
September 24, 2026 00:13
2b92f93 to
679d9ae
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

A workarea with enough tabs open grew a vertical scrollbar inside a bar one tab tall.
Cause
Both tab strips ask only for
overflow-x-auto. But a box with one axis set to anything other thanvisiblecomputes the other axis toauto— sooverflow-ybecameautotoo. The horizontal scrollbar then eats into the strip's fixedh-9, the tabs overflow downwards by the height of their own scrollbar, and the strip grows a second scrollbar to reach them.Fix
One named class,
SCROLLING_TAB_STRIP, carrying both axes and the reason, used by both strips. The chat strip had the same fault and the same fix — it just needs more tabs before it shows.Testing
pnpm run validateandnpx vitest rungreen (3079 tests). No new test: the only thing to assert is a class string, which would be a change-detector rather than a check that the bug is gone.Verified in a browser with five documents open at 760px, where the strip genuinely overflows:
One honest caveat: headless Chromium draws overlay scrollbars, which take no layout width, so the visible scrollbar in the original report cannot be reproduced there by measurement. What is verified is that the computed
overflow-ywasautobefore and ishiddennow, and that horizontal scrolling still works — andhiddencannot produce a vertical scrollbar.🤖 Generated with Claude Code