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 <isabel_brison@git.wordpress.org>
Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
  • Loading branch information
3 people authored and carstingaxion committed Jul 18, 2024
1 parent a3469a8 commit 4dedde8
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 4dedde8

Please sign in to comment.