vue-long-click icon indicating copy to clipboard operation
vue-long-click copied to clipboard

Click event should be suppressed once longclick has fired

Open baffalop opened this issue 5 years ago • 3 comments

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.

baffalop avatar Dec 06 '19 20:12 baffalop

@baffalop Have you figured a way to bypass it?

yonatanaftali avatar Feb 03 '22 12:02 yonatanaftali

deal breaker- any fixes?

OskarZyg avatar Sep 09 '22 17:09 OskarZyg

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

baffalop avatar Sep 12 '22 07:09 baffalop