Javascript Library For Eliminating The Touch Lag That Occurs Within iOS Browser Based Apps

One of the more annoying issues when developing applications that run in the iOS browsers (and other mobile browsers) is the lag that occurs between a touch, and the actual firing of a click event. This is actual on purpose – as the browser is waiting to see if a double-click is occurring.

FT labs has created a javascript library called FastClick that allows you to get rid of this issue very easily.

As the read me states:

FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic.

You can find FastClick on Github here.

An extremely handy library if you find yourself dealing with the common “browser touch lag” issue. Thanks to Chris for the submission.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Javascript Library For Eliminating The Touch Lag That Occurs Within iOS Browser Based Apps

©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *