jossmac / react-scrolllock

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

TouchScrollable doesn't work on iOS 9 and below #46

Open pedrommenezes opened 5 years ago

pedrommenezes commented 5 years ago

I've been using it on production for a month now and noticed <TouchScrollable> don't work on iOS 9 and below. Not only on my pages, but on your demo too, as far as I could test on BrowserStack.

https://jossmac.github.io/react-scrolllock

Is it a known issue? Glad to help with a PR if there's any clue on where this issue might be.

rick-liruixin commented 9 months ago

They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use. add react hooks、vue3 example

npm i body-scroll-lock-upgrade

repair log,Refer to the releases page.