I was playing around with the 1.2.0 Pre version and noticed that changing the $.event.special.tap.tapholdThreshold default wasn't working as I thought it would, for example if I set it to 2000ms the binded event would fire after 2s of holding the element no matter if I just held it for a bit.
I thought it'd behave like the hoverIntent plugin so the event would fire only if you hold the element for at least 2s. Looking at the code it looks like it's intended to behave like that since it just uses the setTimeout function, is there a reason for this?
I was playing around with the 1.2.0 Pre version and noticed that changing the
$.event.special.tap.tapholdThreshold
default wasn't working as I thought it would, for example if I set it to 2000ms the binded event would fire after 2s of holding the element no matter if I just held it for a bit.I thought it'd behave like the hoverIntent plugin so the event would fire only if you hold the element for at least 2s. Looking at the code it looks like it's intended to behave like that since it just uses the
setTimeout
function, is there a reason for this?