react-arborist
react-arborist copied to clipboard
Can't cancel dragging after it started
I find it impossible to cancel the dragging event. If you change your mind while still holding the mouse button pressed, you can't go back. The item will be dropped anyway.
I tried ESC
button, or dragging the item away from the tree container. But the onMove
is still fired.
https://github.com/user-attachments/assets/8334116e-a838-421e-8a82-e859baeeb2cc
Expected result:
onMove
is not fired if ESC
is pressed during the drag or if the item is dropped outside the tree area.