working on a webgame with ThreeJS. On iOS, a longpress creates a small haptic vibration feedback after 0.5s have passed.
Since I'd like the user to be able to hold their finger down to walk around, this is a distraction.
I've already got preventDefault and stopPropagation in play for touchStart
, touchEnd
, touchMove
, touchCancel
, and contextMenu
, what am I missing?
Each are implemented as such:
function onTouchStart(event) {
event.preventDefault();
event.stopPropagation();
...
Thanks!