Skip to content

fix(mobile): keep profile nav title off the cover photo - #14797

Open
dylanjeffers wants to merge 1 commit into
mainfrom
fix/profile-nav-title-over-cover
Open

dylanjeffers wants to merge 1 commit into
mainfrom
fix/profile-nav-title-over-cover

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

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

  • Blur background: same 0-60px fade as before.
  • Title and dark icons: fade in over 68-96px, from when the cover's edge crosses the middle of the nav row until it has left the row.
  • Status bar: switches to theme colors at 96px (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

  • Swapped a Hermes bundle of this branch into a Release sim build and scrolled @xsetra in small steps with WebDriverAgent, before and after.
  • Before: the dark "Xsetra" title and icons were nearly invisible over the banner at 25-50px.
  • After: the white icons stay until the banner is gone, and the title only appears over the blurred, lighter part. The collapsed end state is unchanged.
  • prettier and eslint are clean.
  • No unit test: this is reanimated interpolation ranges only.

🤖 Generated with Claude Code

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>
@changeset-bot

changeset-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e94a103

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant