Warning after inserting a Gallery into an empty post #52362
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
[Type] Bug
An existing feature does not function as intended
Description
The following React warning is logged in the console after inserting a Gallery into an empty post. The gallery should be the only block in a post.
Based on the trace, this might be related to recent changes introduced for the Footnotes feature #51201.
cc @ellatrix
Step-by-step reproduction instructions
There are a few other ways to reproduce the warning. See the screencast for another one.
Screenshots, screen recording, code snippet
CleanShot.2023-07-06.at.12.53.46.mp4
Environment info
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: