diff --git a/packages/block-editor/src/components/block-popover/index.js b/packages/block-editor/src/components/block-popover/index.js index d088ee87b31ada..88f5f6a7aaa6f4 100644 --- a/packages/block-editor/src/components/block-popover/index.js +++ b/packages/block-editor/src/components/block-popover/index.js @@ -94,7 +94,7 @@ function BlockPopover( return { getBoundingClientRect() { if ( isZoomOut() ) { - const selectedRect = + const selectedBlockRect = getVisibleElementBounds( selectedElement ); const parentRect = getVisibleElementBounds( selectedElement.parentElement