Repository navigation
fix(mobile): keep profile nav title off the cover photo - #14797
Open
dylanjeffers wants to merge 1 commit into
Open
dylanjeffers wants to merge 1 commit into
dylanjeffers wants to merge 1 commit into
Conversation
On iOS in light mode the profile nav title and dark icons faded in over the first 60px of scroll, while the cover photo was still behind them. On a dark banner the name and back button were nearly invisible. Fade the title and dark icons in only as the cover photo leaves the nav row, and switch the status bar once the cover has cleared it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This branch has not been deployed
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.
Why
An App Store review (AU, 2026-11-18, 5★) said the profile name shows in black over their dark header image and can't be read.
Reproduced on an iOS 26.5 sim in light mode with a near-black banner (@xsetra). For about 25-50px of scroll, the nav title fades in dark gray on top of the still-visible banner, and the back and ⋯ icons go dark-on-dark at the same point. The expanded header is fine because the name sits on the white panel.
The cause is in
ProfileNavOverlay: the blur, the white-to-dark icon swap and the title all used the same 0-60px fade. The cover is 96px below the safe area, so it's still behind the nav row for that whole range.Change
PROFILE_NAV_SCROLL_FADE_PX=COVER_PHOTO_CONTENT_HEIGHT) rather than 60px, when the cover has cleared it.Android uses an opaque surface for the nav background, so it was barely affected, but it shares the same timing.
Testing
🤖 Generated with Claude Code