Jakub Syrek
Results
3
comments of
Jakub Syrek
I'm having the same issue while using `useRef` and passing it value to `disableBodyScroll`. How have you solved that @BBaysinger ?
In my case the problem was using `useRef` itself. When I switched to ``` const targetElement = document.querySelector('#overlay') ``` It started to work on Safari on iOS without crashing.
Any update on that? For me, it also doesn't work sometimes. But the fix seems to not always be working as well.