Skip to content

fix: on iPhone the top bar is sticky and opaque, so iOS 26 stops blurring it (TON-135) - #135

Merged
zunhdev merged 2 commits into
mainfrom
zunh/ton-135-on-iphone-the-top-bar-looks-shaded-by-a-gradient
Oct 31, 2026
Merged

zunhdev merged 2 commits into
mainfrom
zunh/ton-135-on-iphone-the-top-bar-looks-shaded-by-a-gradient

Conversation

@zunhdev

@zunhdev zunhdev commented Oct 31, 2026

Copy link
Copy Markdown
Owner

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, 2) 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

zunhdev and others added 2 commits October 31, 2026 16:41
…ring it (TON-135)

Installed on an iPhone with iOS 26, Home Screen apps blur their top edge
(Liquid Glass's edge effect) unless a fixed or sticky bar of one solid
colour covers it. The phone's top bar was a static flex child with no
background, so it was shaded. It is now sticky at the top with bg.app.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	docs/design-spec.md
@zunhdev
zunhdev merged commit 8e3113c into main Oct 31, 2026
1 check passed
@zunhdev
zunhdev deleted the zunh/ton-135-on-iphone-the-top-bar-looks-shaded-by-a-gradient branch October 31, 2026 15:46
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.

1 participant