Block Editor: Warning when rendering InnerBlocks #20069
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
Describe the bug
A warning is logged in development environments when a Columns block (or presumably any block with
InnerBlocks
) is rendered.To reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings.
Additional context
Introduced in #19922.
Fix is to avoid applying prop to
Container
whenContainer
is assigned as'div'
.gutenberg/packages/block-editor/src/components/block-list/index.js
Line 74 in 8313c65
gutenberg/packages/block-editor/src/components/block-list/index.js
Lines 82 to 89 in 8313c65
cc @yansern, @ockham
The text was updated successfully, but these errors were encountered: