Closed davetoolin closed 9 years ago
Here is a test case. It works fine on any desktop.(assume because Fast click not used) but doesn't work on an IPAD
I don't know what's causing this. Probably something to do with the jQuery plugin but keyup seems like an odd event to listen to considering this is a click/touch UI? I don't think I can help here.
Matt, sorry I should have closed this myself. I think I have it mostly working. You were right Keyup wasn't the issue, but there definitely was some conflict with JQuery UI-Selectable The tool I used to make the pretty array of buttons. I recreated it myself and fast click seems to work great.
Thanks for all the work. Dave On 11/21/2014 1:28 PM, Matt Andrews wrote:
I don't know what's causing this. Probably something to do with the jQuery plugin but keyup seems like an odd event to listen to considering this is a click/touch UI? I don't think I can help here.
— Reply to this email directly or view it on GitHub https://github.com/ftlabs/fastclick/issues/282#issuecomment-64015040.
I have a page that launches a Jquery Dialog box to enter time information. The dialog box contains a JQuery Selectable Grid. See below.
I need to get rid of the 300ms on this dialog. When I attach Fast Click to the document body or just to the dialog div on an IPAD the keyup function doesn't fire at all. Form is dead. Some of the JS $("#time-form").keyup(function(e){ //find out which key was pressed
switch(e.keyCode){ case 48: case 49 : case 50: case 51 :case 52: case 53 :case 54: case 55 :case 56: case 57 : tdigit =parseInt(e.keyCode,10)-48
break;
......
Can I use fast click on keyup??