Skip to content

Commit

Permalink
Only hide drop indicator when grid has isManualPlacement set. (#63226)
Browse files Browse the repository at this point in the history
Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org>
Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
  • Loading branch information
3 people authored Jul 8, 2024
1 parent 0aa455b commit fd62d1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-editor/src/components/inner-blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ export function useInnerBlocksProps( props = {}, options = {} ) {
props.ref,
__unstableDisableDropZone ||
isDropZoneDisabled ||
( layout?.columnCount && window.__experimentalEnableGridInteractivity )
( layout?.isManualPlacement &&
window.__experimentalEnableGridInteractivity )
? null
: blockDropZoneRef,
] );
Expand Down

0 comments on commit fd62d1a

Please sign in to comment.