Drag and drop resets after dragging down over blocks #42840
Labels
[Feature] Blocks
Overall functionality of blocks
[Feature] Drag and Drop
Drag and drop functionality when working with blocks
[Type] Bug
An existing feature does not function as intended
Description
When dragging a block the dragged block is initially 'greyed out' , but when you drag past its position it suddenly reappears even though the user hasn't stopped dragging. The BlockDraggable is unmounted and stopDraggingBlocks is called.
When bisecting I discovered this bug was introduced in #38892.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Kapture.2022-07-29.at.13.23.21.mp4
Environment info
Mac OS / Brave
Latest trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: