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

Click event should be suppressed once longclick has fired #14

Open
baffalop opened this issue Dec 6, 2019 · 3 comments
Open

Click event should be suppressed once longclick has fired #14

baffalop opened this issue Dec 6, 2019 · 3 comments

Comments

@baffalop
Copy link

baffalop commented Dec 6, 2019

If I have an element with both a @click handler and a v-longclick directive, I would expect that once the longclick event has fired, my click handler won't be called on mouseup – but it is.

At least, I think this should be offered as a configuration option.

@yonatanaftali
Copy link

@baffalop Have you figured a way to bypass it?

@OskarZyg
Copy link

OskarZyg commented Sep 9, 2022

deal breaker- any fixes?

@baffalop
Copy link
Author

As far as I remember, I ended up having to track whether the long click had fired and suppress the click handler manually. Which is almost no better than manually implementing long click...

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

3 participants