jossmac / react-scrolllock

🔒 Prevent scroll on the <body />
https://jossmac.github.io/react-scrolllock
MIT License
451 stars 41 forks source link

iOS Safari: Body is not locked when scrolling inside iframe #81

Open seleckis opened 3 years ago

seleckis commented 3 years ago

Thank you for you work. Unfortunately, as many other similar libraries this one does not lock body when scrolling inside iframe in iOS Safari. Here is an example: https://codesandbox.io/s/compassionate-frog-jnm7f?fontsize=14&hidenavigation=1&theme=dark&file=/src/App.js