-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Global styles: font size panel crashing when navigating back #65811
Conversation
…avigation params are not available so let's return early. Also, remove goTo call in the ScreenHeader onBack callback since back navigation is built into `Navigator.BackButton`
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +12 B (0%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
Jumped the gun. Fix going on over at: #65791 |
What? Why? How?
When navigating back from the font sizes panel, the origin and slug navigation params are not available and the editor crashes.
Let's return early if we can't find them.
Testing Instructions
Screenshots or screencast
Before
2024-10-02.11.07.40.mp4
After
2024-10-02.11.07.08.mp4