ftlabs / fastclick

Polyfill to remove click delays on browsers with touch UIs
MIT License
18.66k stars 3.22k forks source link

Fastclick not working with any Android webview browser #322

Open Ziv-Barber opened 10 years ago

Ziv-Barber commented 10 years ago

Test case: Phonegap App

fastclick.attach ( document.body );

Still the 300m delay...

Ziv-Barber commented 10 years ago

The only working solution to the 300ms delay in Phonegap/cordova:

$('yourElement').on( 'touchstart', function ( startEvent ) { });

instead of using onclick

nvcken commented 9 years ago

@Ziv-Barber How can I check/ test fastclick is working or still the 300ms delay?

byair74 commented 9 years ago

+1

matthew-andrews commented 9 years ago

What version of Android?

samvaughton commented 9 years ago

I am getting this on the One X Android Version 4.3.1

Ziv-Barber commented 9 years ago

Any version (4.0 and later).

But I found the only working solution to the 300ms problem and you only need jquery for that:

$('#myid').on( 'touchstart', function ( startEvent ) { };

This is the only working code to remove the 300ms delay.

On Fri, Nov 28, 2014 at 7:53 PM, Sam Vaughton notifications@github.com wrote:

I am getting this on the One X Android Version 4.3.1

— Reply to this email directly or view it on GitHub https://github.com/ftlabs/fastclick/issues/322#issuecomment-64921160.

ravides19 commented 9 years ago

+1

listingzhao commented 8 years ago

+1