+ 1
Is there a way to lock the page scroll when an event like mousemove is triggered?
The page has to stop when the event is triggered, the page offsetTop being variable.
2 Respuestas
+ 5
most basic way is to set overflow to hidden for body tag.
https://code.sololearn.com/WFetx733agyB/?ref=app
0
Wow, it was that easy. 😅
Thanks!