Mobile Webkit click delay
Mobile Webkit click delay
- Started
- Last post
- 4 Responses
- ESKEMA0
Ok, i found a script that does it (for now anyway..)
if anyone is interested:
http://cubiq.org/remove-onclick-…
- BabySnakes0
checked out hammer js? gives very nice use of all the touch gestures.
http://eightmedia.github.io/hamm…
- monNom0
I read somewhere that a 'click' event has to wait half a second to see if it's going to be a double click. You can use touch-start and just build a handler to deal with the infrequent double taps.
ie:
on('touchstart',function(){
if(!tapped){
tapped=true;
setTimeout(function(){tapped=fal...
//do tap stuff
}else{
//do doubletap stuff
}
})
- monNom0
...aaaand I should have read your link.
also: http://quojs.tapquo.com/
- I saw this earlier. looks nice.
have to get into it. But I thought overkill too just for that feature aloneESKEMA
- I saw this earlier. looks nice.