3 ms·
Also, I wonder how many people here realize that supporting this tap-release-tap gesture requires adding a forced delay to tap recognition. After a single tap
by shurcooL 14y ago
Also, I wonder how many people here realize that supporting this tap-release-tap gesture requires adding a forced delay to tap recognition.
After a single tap happens, you can't react instantly because it's not yet known if the user will tap a second time until some threshold time (around 200 ms) passes. Alternatively, something else can gets in the way (e.g. quickly tap anywhere else to "break the combo" and skip the 200 ms tap delay).
It's not a big drawback in this particular case (tapping on things on the map makes the pin appear slightly delayed), but it's important to realize the negative effects of recognizing more elaborate gestures.
- mikeash 14y agoIsn't the same delay required for recognizing a simple double-tap-to-zoom?
- afterburner 14y agoWell, it's a tap and hold, as opposed to just a tap, so there's that. If the user simply quickly taps, it's obvious it's not the tap-hold-slide zoom. On the other hand, it's not obvious it's not the double tap zoom, so there's a delay for that anyways.