Skip to content

Commit

Permalink
Only hide drop indicator when grid has isManualPlacement set. (Word…
Browse files Browse the repository at this point in the history
…Press#63226)

Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: noisysocks <[email protected]>
  • 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.