-
Notifications
You must be signed in to change notification settings - Fork 2k
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: Navigation block might break for an infinite loop #50277
Comments
Should this go to core repo or was it Dotcom specific? |
@vindl Dotcom specific 😭 |
Dang. 😢 |
I also reproduced this by clicking the "+" inside the navigation block to add a new item, then clicking somewhere else inside the template part to deselect it while the quick inserter popover was still present. |
As it turns out, this looks extremely similar to WordPress/gutenberg#29391, so it might indeed be a Core issue. The one major difference, is that the repro steps here don't trigger the error in Core. |
this seems to have been resolved |
The repro steps for this are weird, but I could reduce them all the way down to these, although the issue only happen sporadically.
Steps to reproduce the behavior
Or:
What I expected to happen
Nothing!
What actually happened
The block broke with the customary "This block has encountered an error and cannot be previewed." message.
A minified React error is thrown in the console. It links to the React error decoder with this message:
Screenshot / Video: If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: