Skip to content

Commit

Permalink
fix bug with anchor rect when zoom out not engaged
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Oct 7, 2024
1 parent 0192f7b commit 2e32ed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/block-popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ function BlockPopover(
// than 0. This check is only there to satisfy the correctness of the
// exhaustive-deps rule for the `useMemo` hook.
popoverDimensionsRecomputeCounter < 0 ||
! rootSectionElement ||
! parentSectionElement ||
( isZoomOut && ! rootSectionElement ) ||
( isZoomOut && ! parentSectionElement ) ||
! selectedElement ||
( bottomClientId && ! lastSelectedElement )
) {
Expand Down

0 comments on commit 2e32ed4

Please sign in to comment.