BR0kEN-/jTap

easily invalid

commonpike opened this issue · 0 comments

referring to https://github.com/BR0kEN-/jTap/issues/4

code says, .on nativeEvent.end

// Coordinates, when event ends, should be the same as they were
// on start.
(
     eventData.pageX === eventData.event.pageX &&
     eventData.pageY === eventData.event.pageY
)

so your finger can not slip a pixel.
other libs use ~10px.

in effect, you get a pseudo-hover state on mobile without getting a tap event fairly often.