2 ms·
> I've seen dozens of "fixes" for this issue published in jQuery Mobile builds I'm not sure if that means you already know about it, but the virtual click inf
by johnbender 15y ago
> I've seen dozens of "fixes" for this issue published in jQuery Mobile builds
I'm not sure if that means you already know about it, but the virtual click infrastructure was built for this specific purpose.
[1/4 of the way down] http://jquerymobile.com/demos/1.0.1/docs/api/events.html http://jquerymobile.com/demos/1.0.1/docs/api/events.html
Just make sure you don't use the virtual click events with elements that move as the browser will fire it's post-touch click on what's there when the time comes.
- mvkel 15y agoYes, the .tap() stuff is a holdover from jQTouch. It doesn't work very well, with some things responding correctly (buttons) and others not (inputs/checkboxes).
- johnbender 15y agoI was talking about the virtual mouse events. It abstracts over touch and click events so you can bind to "both" by binding to "vclick" while still getting the faster responses.