SortableJS / vue.draggable.next

Vue 3 compatible drag-and-drop component based on Sortable.js
https://sortablejs.github.io/vue.draggable.next/#/simple
MIT License
3.91k stars 531 forks source link

The "move" event don't work as expected? #232

Closed dec closed 1 year ago

dec commented 1 year ago

Hello to all,

First of all, thanks very much for this VueJS component. I am not sure if this is an issue, because I find it quite rare. What happen is that I can't use the "move" event with the draggable component. I use the "onmove" event in the Sortable.js library and works as expected, but, can't see the "move" event (which is referred in the documentation of the draggable component) working as expected.

May I am missing something? Is something require in order to use the "move" event? I don't think so, because, in the Sortable.js library, apparently we can use this event without nothing special, but, maybe I am missing something talking about the draggable component for VueJS. Can anyone give me some advice, please? Can anyone see the "move" event working as expected?

Thanks in advance for any help!!

dec commented 1 year ago

Hello to all,

I find by myself that the "move" event in fact is treated as a property, that is, instead of "@move" we must use ":move". Thanks anyway for your help and for this VueJS component!