Repository navigation
Conversation
The first round (A–E, checked on an iPad) showed the status-bar strip stays solid only when the document never scrolls AND the top edge is a solid colour (variant D). B (a fixed black bar over a scrolling page) still showed blurred content, which is why every in-page fix (#994, #995, #999) failed: the library header is sticky over a scrolling document and the reader scrolls the document. New variants, all with a still document and an inner scroller: F 12px black band (WebKit treats edge bars > 10px as solid) G 4px black band (below that floor; expected to fade like C) H 56px header in the app's own background colour (library preview) I reader mock: 12px band, tap toggles a 56px chrome bar
Owner
Author
|
Superseded: the fade was traced to a runtime theme-color/color-scheme change on entering the reader (latched by iPadOS), not to bar geometry. See the fix PR. |
mbryantms
added a commit
that referenced
this pull request
Oct 4, 2026
… navigation (#1014) The installed iPadOS app latches the first runtime change to the theme-color / color-scheme metas: the status-bar strip switches from the top bar's solid colour to a blur of the scrolled page content and stays that way on every route until the app is force-quit. Folio hit this on iPadOS 26.1 and fixed it for the explicit dark theme only (reader viewport byte-identical to the root); light, amber and system themes kept a reader-specific black viewport. With theme = system and the OS in light mode on iPadOS 27.0.1, every visit to the reader flipped the strip, which also explains why the lab pages (#1004, #1008, #1013) faded inside Folio while the standalone test apps (#1009, #1011) never did. The reader route now has no generateViewport at all and inherits the root's. On iPadOS the strip takes its colour from the sticky header / reader chrome, not theme-color (verified: a #000 theme-color test page still showed the header colour), so nothing is lost there; on Android a light-theme reader shows the theme's status-bar colour instead of black. Follow-up, not in this change: standalone web apps freeze prefers-color-scheme at launch, so with theme = system the app can stay dark after the OS switches to light until a page re-resolves it.
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.
The first round (A–E, checked on an iPad) showed the status-bar strip
stays solid only when the document never scrolls AND the top edge is a
solid colour (variant D). B (a fixed black bar over a scrolling page)
still showed blurred content, which is why every in-page fix (#994,
#995, #999) failed: the library header is sticky over a scrolling
document and the reader scrolls the document.
New variants, all with a still document and an inner scroller:
F 12px black band (WebKit treats edge bars > 10px as solid)
G 4px black band (below that floor; expected to fade like C)
H 56px header in the app's own background colour (library preview)
I reader mock: 12px band, tap toggles a 56px chrome bar