MaxLeiter / sortablejs-vue3

A thin wrapper around Sortable.js for Vue 3
https://sortablejs-vue3.maxleiter.com
MIT License
378 stars 19 forks source link

How can accidental dragging be prevented? #28

Closed BazMaster closed 2 years ago

BazMaster commented 2 years ago

Hi! How can accidental dragging be prevented? If I return false on some event, the sorting continues to the end anyway.

MaxLeiter commented 2 years ago

Can you provide an example?

MaxLeiter commented 2 years ago

@BazMaster: are you familiar with event propogation? Event.preventDefault() should work.