Analysis updated 2026-06-21
Eliminate the 300ms tap delay in a legacy mobile web app to make buttons feel instantly responsive
Add FastClick to a specific slow-responding element without affecting the rest of the page
Support older iOS or Android browser versions where the native tap delay is still present
Exclude specific elements from FastClick using the needsclick CSS class to keep their native click behavior
| ftlabs/fastclick | uikit/uikit | prinzhorn/skrollr | |
|---|---|---|---|
| Stars | 18,541 | 18,533 | 18,418 |
| Language | HTML | HTML | HTML |
| Setup difficulty | easy | easy | easy |
| Complexity | 1/5 | 2/5 | 2/5 |
| Audience | developer | developer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
FastClick is a small JavaScript library that eliminates the 300-millisecond delay between a user tapping a touchscreen and a click event firing on mobile browsers. The delay exists because mobile browsers historically waited to see whether a tap was the first of a double-tap before registering it as a single click. The readme explicitly warns that as of late 2015, most modern mobile browsers, notably Chrome and Safari, no longer have this delay, so FastClick provides no benefit on newer browsers and may actually introduce bugs. It is primarily relevant for supporting older mobile browser versions. FastClick works by listening for touchend events and immediately firing a synthetic click event, bypassing the browser's built-in delay. It does not attach any listeners on desktop browsers. It can be used on specific elements or attached to the entire document body. If certain elements need the native (non-synthetic) click behavior, you can exempt them by adding a needsclick CSS class. It is developed by FT Labs, part of the Financial Times. The library is available through npm and other package managers, and an AMD version is provided for asynchronous module loading. All code released by FT Labs is under the MIT license.
A small JavaScript library that removes the 300-millisecond tap delay on older mobile browsers by immediately firing a synthetic click, the readme warns it is mostly obsolete for modern browsers built after 2015.
Mainly HTML. The stack also includes JavaScript, HTML.
MIT license, use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.