From 6200950cacdd7ceaf2fa23bcd21b718e44cc5e0f Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Wed, 25 Sep 2024 15:17:34 +0300 Subject: [PATCH] Update packages/block-editor/src/components/block-popover/index.js Co-authored-by: Dave Smith --- packages/block-editor/src/components/block-popover/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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