0
How do you prevent lags in touchmove event in javascript ?
3 Réponses
+ 3
if(e.cancelable){e.preventDefault()}
Put this code in your touchmove function
+ 2
By setting touch-action for that element to none . It will remove the browser native touch events that comes into play when you touch the screen .
0
Thank you !!!