diff --git a/packages/block-editor/src/components/block-list/use-block-props/use-focus-first-element.js b/packages/block-editor/src/components/block-list/use-block-props/use-focus-first-element.js index 26f7cca2990d8..f655d16b23cbb 100644 --- a/packages/block-editor/src/components/block-list/use-block-props/use-focus-first-element.js +++ b/packages/block-editor/src/components/block-list/use-block-props/use-focus-first-element.js @@ -29,17 +29,13 @@ import { unlock } from '../../../lock-unlock'; */ export function useFocusFirstElement( { clientId, initialPosition } ) { const ref = useRef(); - const { isBlockSelected, isMultiSelecting, isZoomOut } = unlock( + const { isBlockSelected, isMultiSelecting } = unlock( useSelect( blockEditorStore ) ); useEffect( () => { // Check if the block is still selected at the time this effect runs. - if ( - ! isBlockSelected( clientId ) || - isMultiSelecting() || - isZoomOut() - ) { + if ( ! isBlockSelected( clientId ) || isMultiSelecting() ) { return; }