Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping click to pass to child #130

Open
Andrioden opened this issue Jul 23, 2023 · 1 comment
Open

Stopping click to pass to child #130

Andrioden opened this issue Jul 23, 2023 · 1 comment

Comments

@Andrioden
Copy link

Andrioden commented Jul 23, 2023

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>
@houtan-rocky
Copy link
Contributor

#159 Solving this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants