-
Notifications
You must be signed in to change notification settings - Fork 13.5k
fix(ios): large title transition accounts for back button with no text #29327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Observing a shift to both the button and the large title when popping the view. Doesn't happen consistently, but seems to be related to adjusting the text size. Could be a Safari quirk if you aren't able to reliable reproduce. I can get Safari's header UI to break/run into the content, so there could be more factors here. RPReplay_Final1713460282.MP4 |
If you set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, worked on the original repo and on a simulator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested against the latest changes of v7 with text=" "
and was unable to reproduce the video I attached earlier.
Tested again with the dev-build and was only able to get in that state once with changing the dynamic font scaling, but was unable to reproduce with the same steps consistently. Navigated 40+ times without the issue presenting itself with a consistent dynamic font scale.
I think these changes are good to merge. There is a rendering quirk in Safari's UI with changing the dynamic font scale with the address bar at the top of the screen that is having other impact (at random, but not very common). If we get issue reports we can do a deeper evaluation of what is going on there.
Issue number: resolves #28751
What is the current behavior?
The large title transition does not account for back buttons with no text value. We assume that the
.button-text
element is always defined, but that is not the case whentext=""
on the back button. As a result, devs were getting errors because we tried to get the bounding box of a undefined.What is the new behavior?
There should be no behavior change when the back button text element is defined.
Does this introduce a breaking change?
Other information
Dev Build:
7.8.5-dev.11713282122.18cabf98