- 3
Touchmove and mousemove not working as expected, how do I fix this?
I have the code below When you hover with your mouse or finger over the card, it should call the function from js line 1. It works fine with mouse but it s not working as I expect it to when using the touch. Hell. https://code.sololearn.com/Wa16A16A24a1/?ref=app
1 Resposta
+ 2
You are using mousemove event .And with touchmove you need to specify touch-action:none as well otherwise browser native touch action comes into play thus blocking user gesture like touch move.