holiber / sl-vue-tree

Customizable draggable tree component for Vue.js
https://holiber.github.io/sl-vue-tree/
MIT License
345 stars 78 forks source link

Once drag starts there's no way to cancel #103

Open superchairon opened 2 years ago

superchairon commented 2 years ago

There doesn't seem to be a way of cancelling a drag once it started. In most UI supporting drag-drop the ESC key causes the drag to be aborted. The problem here is that once the drag started, even if you drop out of the container, the window or even the browser the drop still takes place.