v-scroll-lock
v-scroll-lock copied to clipboard
Not working in iOS12
My application is not a Cordova project but a Vue-CLI3 project, header and footer are locked (no elastic effects anymore), the main content between header and footer is scrolling. On iOS 12 the main content shows a scrollbar but it does not scroll...
On Android it works okay.
There could be a solution overhere: https://github.com/FL3NKEY/scroll-lock/issues/1
Maybe there is info at https://github.com/willmcpo/body-scroll-lock/issues/52#issuecomment-432200055
+1, I am also noticing that on iOS 12.0.1 (granted not the latest version of iOS), scroll lock is not applied. On MacOS it works as expected, just safari on my test iPhone that has the issue.
Hey I am finding that this directive isn't working on ios 12 is there any update here?
use this one https://github.com/willmcpo/body-scroll-lock
Would this issue be resolved by updating the body-scroll-lock
dependency in this project to the latest version?
Upgrading the body-scroll-lock
dependency may fix this. I have a release coming out in the next couple of days that will upgrade the body-scroll-lock
as well as add an option to use your own version of body-scroll-lock
instead of the packaged version. Just need to find a few hours to update the README and then I will be tagging this release
Looks like https://github.com/willmcpo/body-scroll-lock/issues/52#issuecomment-432200055 is still open so most likely this is still an issue. With that said I just pushed a release that upgrades body-scroll-lock
to the latest version and adds an option to use your own version of the body-scroll-lock
package (https://github.com/phegman/v-scroll-lock#providing-your-own-version-of-body-scroll-lock). I will try and keep the body-scroll-lock
dependency up to date, but if a fix is released and this package hasn't been updated you can use the new option to pass your own version of body-scroll-lock
to this directive.
I have the same problem!
There is an upcoming release respectively a beta release of https://github.com/willmcpo/body-scroll-lock/ that addresses some iOS topics, see https://github.com/willmcpo/body-scroll-lock/releases/tag/v4.0.0-beta.0. Maybe it fixes some issues that are mentioned here?
Have the same problem on iOS 15+.
Upgrade the body-scroll-lock
for the last version (4.0.0-beta.0) not working