BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

BlockNote takes over my drag and drop

Open sb8244 opened this issue 5 months ago • 9 comments

Describe the bug My app's drag and drop stopped working. I traced it back to when within 250px of a BlockNote editor, my app's drop handlers will not execute (React-dnd)

To Reproduce Use React-Dnd within 250px of an editor instance. I think this is a bit cumbersome to actually setup a reproduction for.

Misc

In SideMenuPlugin/onDragOver, if I comment out this.dispatchSyntheticEvent(event);, then the issue doesn't happen. The onDragOver callback is being processed even if not relevant to the drag event.

I recorded a quick video of the issue happening: https://www.loom.com/share/5e83087f54fa4d07a4718bb6466b1a9d

I am on the latest BlockNote release.

  • Node version:
  • Package manager:
  • Browser:
  • [ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

sb8244 avatar Aug 27 '25 16:08 sb8244