I'm implementing an application where you can drag a div from one node to another. I tried with HTML native drag and drop and with react-dnd, and with both I get the same weird behavior:
After dropping on the target node, the original node from which I started the drag jumps to the mouse position and follows the mouse until I click again.
I'm implementing an application where you can drag a div from one node to another. I tried with HTML native drag and drop and with react-dnd, and with both I get the same weird behavior:
After dropping on the target node, the original node from which I started the drag jumps to the mouse position and follows the mouse until I click again.
Can I prevent this from happening?
Thanks for the advice!