Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQTouch Pressure Sensitivity

I noticed an interesting bug with the JQTouch platform and wanted to know if anyone else has run into it our has a workaround for it. If I have a link with an onclick event and lightly tap the link on the iPhone, the link works, but the click event is not fired. If I tap the same link harder, the event fires.

Any thoughts on this?

like image 260
rson Avatar asked Sep 11 '26 01:09

rson


2 Answers

Try handling the tap event provided by jQTouch, rather than the click event.

like image 52
John Topley Avatar answered Sep 12 '26 14:09

John Topley


I have observed the same issue. My solution is to use for the iPhone tap events and for other devices click events (see http://digitalize.ca/2010/02/jqtouch-tap-vs-click/). I am wondering though if there is a better solution.

like image 45
user338083 Avatar answered Sep 12 '26 16:09

user338083



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!