jossmac / react-scrolllock

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

Can't scroll elements designated as scrollable (Firefox for Android) #51

Open mtjn opened 5 years ago

mtjn commented 5 years ago

The body is unscrollable but designated scrollable elements are unscrollable. Tested using both the ScrollLock and TouchScrollable components. The same behavior works on mobile Chrome and Safari (iOS 13)

FF version: 68.1.1. Android version: 10 (QP1A.190711.020) Phone model: Pixel 2

AndrewBrough commented 5 years ago

I seem to be encountering the same problem currently, but only touch scrolling isn't working (iOS and chrome touch emulator, strangely)

genox commented 5 years ago

I notice the same issue, tested on local iPhone, and iOS/Android on browserstack.

dancherb commented 3 years ago

Any updates on this? Or is the package not fit for any mobile websites 😢

rick-liruixin commented 11 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. @AndrewBrough @mtjn @genox