Open Ziv-Barber opened 10 years ago
The only working solution to the 300ms delay in Phonegap/cordova:
$('yourElement').on( 'touchstart', function ( startEvent ) { });
instead of using onclick
@Ziv-Barber How can I check/ test fastclick is working or still the 300ms delay?
+1
What version of Android?
I am getting this on the One X Android Version 4.3.1
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.
+1
+1
Test case: Phonegap App
fastclick.attach ( document.body );
Still the 300m delay...