ittus / vue-long-click

Long click directive library for VueJS
https://ittus.github.io/vue-long-click/
MIT License
58 stars 11 forks source link

Click event should be suppressed once longclick has fired #14

Open baffalop opened 4 years ago

baffalop commented 4 years ago

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 commented 2 years ago

@baffalop Have you figured a way to bypass it?

OskarZyg commented 2 years ago

deal breaker- any fixes?

baffalop commented 2 years ago

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...