Hi,
We created a small side menu component and noticed that on iOS users can scroll up/down over the backdrop.
I’ve try setting up an event handler for “touchmove” on the backdrop / entire document (document/body) with an e.preventDefault but while the event is being triggered, scrolling is not disabled.
What am I doing wrong? Is there a better way to dynamically disable scroll?
Cheers,
Guy