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

Taps get triggered twice on Windows Phone (Internet Explorer mobile) #8

Open
Vinze opened this issue Sep 29, 2014 · 6 comments
Open

Comments

@Vinze
Copy link

Vinze commented Sep 29, 2014

Maybe related to: #1 ?

@Ghazgkull
Copy link

I'm observing the same problem.

@Ghazgkull
Copy link

The events that are firing out of the plugin are a PointerEvent followed by a TouchEvent.

Still working my way through the code, but on initial inspection, it looks like the mouse, pointer, and click event handling is all grouped together such that they cancel each other out to prevent multiple firings. But the touch events are in a separate function/closure... could the problem be that when a pointer event is fired it doesn't cancel the touch events?

@Ghazgkull
Copy link

For now I've just worked around the problem by hacking the bind function so that it doesn't bind the pointerdown or MSPointerDown events if touch support is available (checking for "ontouchstart" in window).

@dwolner
Copy link
Contributor

dwolner commented Apr 4, 2016

Also seeing this behavior. As per your suggestion @Ghazgkull , I added a conditional to only register ontouch events OR pointerEvents. This is working for me, will add as pull request.

@janinel
Copy link

janinel commented Apr 6, 2016

I am also seeing this behaviour - would appreciate a fix as soon as possible.

@dwolner
Copy link
Contributor

dwolner commented Apr 8, 2016

i just proposed a pull request #18 . working for me on iOS, Android, Windows 10

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

4 participants