diff --git a/packages/block-editor/src/components/block-tools/index.js b/packages/block-editor/src/components/block-tools/index.js index d038662455dea..f720b871dbced 100644 --- a/packages/block-editor/src/components/block-tools/index.js +++ b/packages/block-editor/src/components/block-tools/index.js @@ -36,6 +36,7 @@ function selector( select ) { isTyping, isSectionBlock, getParentSectionBlock, + isDragging, } = unlock( select( blockEditorStore ) ); const clientId = @@ -56,6 +57,7 @@ function selector( select ) { hasFixedToolbar: getSettings().hasFixedToolbar, isTyping: isTyping(), isZoomOutMode: isZoomOut, + isDragging: isDragging(), }; } @@ -254,7 +256,7 @@ export default function BlockTools( { name="__unstable-block-tools-after" ref={ blockToolbarAfterRef } /> - { isZoomOutMode && ( + { isZoomOutMode && ! isDragging && (