How to combine with VueDraggable? #229
Unanswered
derwaldgeist
asked this question in
Q&A
Replies: 1 comment
It's best to watch the
Hm, could you share some code? Viselect doesn't create any container on it's own, see the vanilla documentation of how to use it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'd like to combine this library with
VueDraggable, so the items are both selectable and draggable. Using the Vue version does not work, since it sets up its owndivaround the items (which prevents VueDraggble from being able to drag individual items).So I tried to use the plain vanilla version instead. But I could not get it working. I tried to setup the
SelectionAreain anonMounted()hook, but that did not have any effect.I had tried to use the same container as I use for VueDraggable, but even if I do not configure a special container class, no container is being constructed.
(It is also important that the items can be added or removed dynamically.)
All reactions