Open veodko opened 1 year ago
I'm sorry, in the directive of Vue, the bound ref value will be unpacked, so the re-copying of the ref cannot be monitored in the directive. There is no solution to this problem for the time being. You can use hooks or components first, thank you.
I installed the latest version from npm into my vue 3 vuetify project, tried to use the directive method just like in the docs and while it all works perfect when doing just some statically defined data like in the docs, trying to do anything a little more advanced such as fetching the list items asynchronously (or just modifying the list value) breaks the draggable element and while you can still drag, it goes back to the original form once you release the item.
Example:
Drag any element and let it go, the list will still be in the same order. One workaround is to delay rendering of the
VList
component usingv-if="list.length"
but what in case I want to update the existing list?