Mobile Safari QuickTap
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A native Javascript class that allows you to selectively get rid of click delays in MobileSafari


You know those pesky delays in MobileSafari for click handles? Aren't those really annoying when your trying to get a native feel for your web app? This class allows you to mimic a tap for specific elements, so you can rid of those delays for the stuff that matters, and leave it off for the stuff that doesn't. This class will also respect scrolling, so if your user is scrolling and touches the element you wont lose the scroll capability.

How to use?

This is written in native Javascript so it is completely framework independent.

To set a QuickTap interaction for a specific element:

new QuickTap(element);

Then bind the click event as you normally would (example in MooTools):

element.addEvent('click', function(){
	// do something awesome