Repository navigation
Keep the iPhone home-screen app's header clear of iOS 26's edge blur - #106
Conversation
`apple-mobile-web-app-status-bar-style: black-translucent` (with viewport-fit=cover) puts the page under the iOS status bar. Since iOS 26 the system fills that inset with its Liquid Glass scroll edge effect, a blur ramp that also reaches into the header below it; there is no CSS or meta opt-out, and the old backdrop-filter overlay trick no longer works in standalone apps. Without the meta the web view starts below the status bar, which the theme-color (already following the theme) paints, and env(safe-area-inset-top) reports 0, so every inset use collapses on its own. viewport-fit=cover stays for landscape and the home indicator. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe app header now sticks to the top of the viewport. The Unreleased changelog describes the iOS 26+ home-screen behavior and notes that Safari is unaffected. ChangesiOS home-screen header
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable issue is established before merge; confirm the intended blur fix on an iPhone when available. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the problem, cause, fix, and automated validation. However, it does not use the required "## Change" and "## Validation" sections, and it does not include the required screenshot or recording for this UI change. Device validation also remains pending.
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
The previous commit dropped `black-translucent` so that the page would not draw under the status bar. That is not enough: on an iPhone the header of the home-screen app was still blurred (Safari's tab was not), and other apps report the same after going opaque and reinstalling (ItHasU/eurekai#16). iOS lays its Liquid Glass scroll edge effect over the top of an installed web app whatever the status bar style, and skips it only when a fixed or sticky box with a background covers that edge, taking that box's color instead. The header (opaque --bg-panel, full width, above the scroll areas) is now `position: sticky; top: 0`. Nothing scrolls it, so the layout is unchanged (element boxes identical to main at phone and desktop sizes). The status bar meta is back to `black-translucent`, so the header still runs under the clock and no reinstall is needed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # CHANGELOG.md
…ring it (TON-135) (#135) Closes TON-135 Found in the creator's manual testing (31 October 2026): on an iPhone, the top bar ("Collection" and its buttons) looked shaded and blurred, as under a gradient. Android was fine. **Cause:** nothing in Tonaris draws a gradient or blur there. iOS 26 Home Screen apps get Liquid Glass's *edge effect*, a blur over the status bar and about 40 pt below it. Reports from several apps that hit the same thing ([1](devswha/ovis#106), [2](mbryantms/folio#994)) describe WebKit skipping it when a **fixed or sticky** box, nearly full width, more than ~10 px tall and painted in **one solid colour**, covers the top edge. WebKit then uses that colour for the status bar. Our phone top bar was a static flex child with no background of its own, so it didn't qualify. **Fix:** the phone's top bar is `sticky top-0` with `bg-app`, the background it already appeared to have, so the layout doesn't change. The first phone test now checks that the bar is sticky and opaque. **Not verifiable here:** Playwright's WebKit doesn't draw iOS's edge effect, and several of those reports were unverified on devices. **Please check on your iPhone** after the deploy (installed app and Safari). If the haze remains, the next step is a fixed solid strip at the very top edge. **Verification:** full `bun run check` passed locally (1450 tests, 164 browser tests). **Docs:** DS-110 (fixed in TON-135). **OpenSpec change:** none (Bug). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Problem
On an iPhone, the home-screen app's header was blurred: the title, the Chat/Terminal switch and the icons. The same page in a Safari tab was sharp.
Cause
Since iOS 26, an installed web app gets the Liquid Glass scroll edge effect laid over the top of the page, and it reaches into our header.
Fix
.app-headeris nowposition: sticky; top: 0.--bg-panel), full-width bar at the top edge, and nothing scrolls it, so the layout does not change.safe-area-inset-toppadding, so iOS takes its color there.black-translucent, so an existing home-screen install needs no reinstall.The first version of this PR removed
black-translucentinstead, as amir20/dozzle#5222 did. That is not enough on its own: ItHasU/eurekai#16 still saw the bar blurred after going opaque and reinstalling, and fixed it with a fixed box at the top. This PR now takes that approach, andindex.htmlis unchanged.Tests
mainagainst this branch: every box in the header,.app-body,.sidebarand the composer is at the same position and size. The only differences are two text spans whose temp-folder names differ in length.tsc --noEmit,bun test src.🤖 Generated with Claude Code