I just tested your version of 'vue-draggable', which looks promising due to recent bugs I found with alternatives.
It works fine for a single list (with hooks fashion), as with 2 "connected" lists manually. But I can't make it work for dynamic lists (or nested v-for), eg. a first v-for for say 2 columns, the second one for the items in each column.
Using recommended methods for "dynamic refs" won't work :
Hello @Alfred-Skyblue,
I just tested your version of 'vue-draggable', which looks promising due to recent bugs I found with alternatives.
It works fine for a single list (with hooks fashion), as with 2 "connected" lists manually. But I can't make it work for dynamic lists (or nested
v-for
), eg. a firstv-for
for say 2 columns, the second one for the items in each column.Using recommended methods for "dynamic refs" won't work :
https://vuejs.org/guide/essentials/template-refs.html#refs-inside-v-for https://vuejs.org/guide/essentials/template-refs.html#function-refs
Any idea about this use case? Is that even possible with current state of library?
PS: I got these 2 errors :