Can I use UseDraggable on a component? #3071
Unanswered
danieldilly
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I seem to have another issue. When using the Draggable component, the @start, @EnD, and @Move events don't seem to function at all:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm able to use UseDraggable when applied to normal HTML element such as a div.
However, the utility does not work when I try to use it on a Vue component, such as Quasar's QCard component:
Works:
Doesn't work
Error:
I did get it working with the component variant (from
@vueuse/components
), but I still wonder if there's a way to get it to work using this method.Beta Was this translation helpful? Give feedback.
All reactions