jerrybendy / vue-touch-events

Support simple touch events (tap / swipe / touch hold)
MIT License
537 stars 51 forks source link

One touch event leaks through and causes other touch events to fire #57

Open tyshantprince opened 4 years ago

tyshantprince commented 4 years ago

I am creating sort of a survey and I am using this project to handle the touch events.

The problem is that when a user touches an answer button, this touch is read by the next answer button of an unrelated question.

Basically the touches are leaking over. I want to know how do I prevent a touch from leaking over as the next question renders.

jerrybendy commented 4 years ago

If your site is using for touch devices only, it would be a good idea to set disableClick to true.

doutatsu commented 3 years ago

Same issue here. When using touchhold and tap events together, tap would reset the touchhold, as both of them fire at the same time.

jerrybendy commented 3 years ago

@doutatsu The latest version has fixed this issue. You can upgrade and try again. If this problem still exists, please let me know.

doutatsu commented 3 years ago

@jerrybendy Found out about it just after I posted the message! It has indeed been fixed, thanks