Skip to content

Commit 8edfd41

Browse files
committed
Fix content overflow when dragging a selected block
1 parent f349616 commit 8edfd41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/block-editor/src/components/block-draggable/index.native.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ const BlockDraggable = ( { clientId, children } ) => {
366366

367367
const blockStyles = useAnimatedStyle( () => {
368368
return {
369+
display: collapseAnimation.opacity.value !== 0 ? 'none' : 'flex',
369370
opacity: 1 - collapseAnimation.opacity.value,
370371
};
371372
} );

0 commit comments

Comments
 (0)