Skip to content

Commit

Permalink
Cover block: Pass dropZoneElement reference to fix dragging within co…
Browse files Browse the repository at this point in the history
…ver block area (#56312)

* Cover block: Pass dropZoneElement reference to fix dragging and dropping within cover block area

* Move to using a simple ref
  • Loading branch information
andrewserong authored Nov 23, 2023
1 parent 8059f98 commit c57fb7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/cover/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ function CoverEdit( {
templateInsertUpdatesSelection: true,
allowedBlocks,
templateLock,
dropZoneElement: ref.current,
}
);

Expand Down

1 comment on commit c57fb7b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in c57fb7b.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6965456186
📝 Reported issues:

Please sign in to comment.