Repository navigation
Inbox full screen: an HTML page runs to the window's foot on a desktop - #4053
Merged
Merged
Conversation
With the tools gathered, a desktop's HTML page stopped above the 32 px corner control, leaving a strip the width of the window under the page in the window's own colour (a light strip under a dark page). The page now runs to the foot and the corner control floats over it, as the toolbar does at the top and as it does over a picture or Markdown. A phone still stops above its toolbar.
backnotprop
marked this pull request as ready for review
November 25, 2026 18:54
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.
In full screen on a desktop, an HTML page with the tools gathered stopped about 56 px above the window's foot. It made room for the 32 px corner control (⌃⌃). That left a strip the full width of the window under the page, in the window's own colour. On a dark page in a light Inbox, it looked like a broken light bar.
Cause:
usePageClear(packages/inbox/components/htmlPageFrame.ts) measured the corner control while the tools were gathered. inbox.css then set.ib-htmlframe'sbottomto that height. This came from 99e6b7b (2026-11-11), which kept a prototype's bottom-right "1 2 3 4" switcher clear of the corner control. It is not a regression from yesterday's comment-row changes.Change: on a desktop, the page now runs to the window's foot in both states. The corner control floats over the page, as the toolbar does at the top and as both do over a picture or a Markdown file. A phone is unchanged: its page still stops above its toolbar, which stays in the corner in both states. Side by side is unchanged.
Trade-off: with the tools gathered on a desktop, the corner control can cover a page's own control in the far bottom-right corner again. Pressing the control brings the tools back to the top right, and the corner is then free.
Tests:
packages/inbox/htmlPageClear.test.tsx. It fails without the fix (56 px), and the phone case still clears.tests/e2e/inbox-prototype-navigation.spec.tsnow checks that, with the tools gathered, the frame reaches the window's foot and the bottom-left point belongs to the page. With the tools back, the switcher is still clickable.