Skip to content

Let page-flow tabs take their content's height - #7211

Merged
max-sixty merged 1 commit into
mainfrom
choice-walk-fixes
Nov 26, 2026
Merged

max-sixty merged 1 commit into
mainfrom
choice-walk-fixes

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Drops the window-tall minimum on tabs in the page's flow. It kept the strip still when a switch from a long tab scrolled deep to a short one would otherwise let the page's end pull the page down; since #7188 a column or sidebar page keeps room below its last line for exactly that, so the rule only left a window of blank under a short tab. On a 1100×900 page whose tabs are followed by more of the page, the heading after a one-line tab moves from y=1109 (off screen) to 307.

To weigh: a switch from deep in a long tab to a short one still leaves the strip at the window's top in Firefox and Chromium. A page with no Layout class gets no end room, so there the strip now drops by what the page loses (about 100 px on a short test page); that page's layout is its author's own.

Found while following up #7188 in this session; the maintainer hasn't read it. Tests: the 18 page-flow tab tests, the root-tabs journey that switches views without moving the strip, and the obligation walk across tabs pass.

This was written by Claude Code on behalf of max-sixty

Tabs in the page's flow stood at least a window tall so a switch from a
long tab scrolled deep to a short one didn't let the browser pull the page
down and move the strip. Since #7188 a column or sidebar page keeps room
below its last line for that line to rise to the window's top, which does
the same for every block at the page's end, so the rule only left a window
of blank below a short tab: on a 1100x900 page whose tabs are followed by
more of the page, the heading after a one-line tab stood at y=1109, off
screen, and now stands at 307.

A switch from deep in a long tab to a short one still leaves the strip at
the window's top in Firefox and Chromium. A page with no Layout class gets
no end room, so there the strip now drops by what the page loses, about
100 px in a short page; such a page is the author's own layout.

The page-flow tab tests, the root-tabs journey that switches views without
moving the strip, and the obligation walk across tabs pass.
@max-sixty
max-sixty merged commit 3a92fb4 into main Nov 26, 2026
6 checks passed
@max-sixty
max-sixty deleted the choice-walk-fixes branch November 26, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants