mattdesl / touch-position

get current mouse/touch position
MIT License
15 stars 3 forks source link

[Violation] Added non-passive event listener #4

Open dy opened 6 years ago

dy commented 6 years ago

This makes pan-zoom and other dependent components display warning in console. I'd suggest has-passive-events strategy

element.addEventListener('touchmove', updateTouch, hasPassive ? {passive: false} : false)
dy commented 6 years ago

@mattdesl ping

dy commented 4 years ago

@mattdesl [ing