PuruVJ / neodrag

One Draggable to rule them all đź’Ť

Home Page:https://neodrag.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stopping click to pass to child

Andrioden opened this issue · comments

Hi, is there any way to stop a drag from ending up as an click on the child element? As I see it, its not about stopping event propagation, because its a child in this case.

I cant think of another way than to temporarily (using setTimeout) disable the childClickHandler in onDragEnd.

<div v-draggable="..."> 
   <div @click="childClickHandler">
</div>