ngryman / jquery.finger

:v: jQuery touch & gestures, fingers in the nose.
https://ngryman.sh/jquery.finger/
MIT License
423 stars 66 forks source link

Tap event is fired twice on Android 2.3.5's default internet browser #13

Closed iainvdw closed 9 years ago

iainvdw commented 11 years ago

I've got a mobile site, with two buttons in the header to show off-canvas panels left and right of the screen. Kinda like Facebook. I've set up the finger plugin to use the 'tap' event on the buttons to toggle either one of the panels.

This works correctly on most devices, except on one device I have here which is an HTC Desire S with Android 2.3.5 on it. The bug I'm getting is that the tap event is fired twice on that browser. When I place an alert() function inside the event handler, the alert comes up twice on that device. It only shows once on Android 4, Windows Mobile and iOS.

Is this a bug in the plugin, or a bug in the Android implementation of the touch / click events?

ngryman commented 11 years ago

I never had the chance to test on Android 2.3.5... Is it possible for you to create a jsfiddle that reproduce the issue? Thanks!

iainvdw commented 11 years ago

Hi, I'm not able to make a jsfiddle for this now, but it's really simple:

You could try using the Android simulator if you're able, see if it's reproducible that way.

yairEO commented 10 years ago

it fires twice also on an iPad3 !

ngryman commented 9 years ago

Hi,

I'm quite late on this one sorry. I can't reproduce anywhere :disappointed:

Here is my fiddle: http://jsfiddle.net/42Lbyoke/.

Here are my results using Browserstack:

Android 2.3 is pretty old and has a poor implementation of WebKit, I'm not gonna support it.

Closing this for now, if someone can reproduce it with a example, I'll re-open it.