diff --git a/packages/block-editor/src/components/block-popover/index.js b/packages/block-editor/src/components/block-popover/index.js index 88f5f6a7aaa6f4..9a38a5b0ae35d5 100644 --- a/packages/block-editor/src/components/block-popover/index.js +++ b/packages/block-editor/src/components/block-popover/index.js @@ -96,7 +96,7 @@ function BlockPopover( if ( isZoomOut() ) { const selectedBlockRect = getVisibleElementBounds( selectedElement ); - const parentRect = getVisibleElementBounds( + const sectionRootElementRect = getVisibleElementBounds( selectedElement.parentElement ); return new window.DOMRectReadOnly(