-
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
Site editor crashes when opening styles Typography or Colors and theme variations aren't fully loaded yet #59509
Comments
I tried clicking as fast as possible, but I couldn't reproduce the problem 😅 Does this issue occur with the latest Gutenberg? Or can it be reproduced with WP6.5 Beta3? |
I have the same questions as Aki :D |
I'm able to reproduce this with the following environment:
These are the reproduction steps I am using:
I've got script debug set to true on my environment but am still getting compressed function names in the console, sorry Debug log. I've got SCRIPT_DEBUG set to true but still getting minimized function names for some reason:
|
Description
The editor may crash when quickly opening the Styles > Typography or Styles > Color panel.
This is about timing so it's more evident on a local development environment, which is much slower than the built production release. Still, it appears threre's something to fix as at some point the underlying code attemps to get the
length
property of an object that is (I guess) null.Error messages when opening Typography or Colors panel:
See also this animated GIF to better illustrate:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: