v-scroll-lock icon indicating copy to clipboard operation
v-scroll-lock copied to clipboard

Not working in iOS12

Open focussing opened this issue 5 years ago • 10 comments

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

focussing avatar Oct 23 '18 15:10 focussing

Maybe there is info at https://github.com/willmcpo/body-scroll-lock/issues/52#issuecomment-432200055

focussing avatar Oct 23 '18 15:10 focussing

+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.

wSedlacek avatar Feb 06 '19 07:02 wSedlacek

Hey I am finding that this directive isn't working on ios 12 is there any update here?

steveDL avatar May 15 '19 10:05 steveDL

use this one https://github.com/willmcpo/body-scroll-lock

gerasimvol avatar Aug 22 '19 17:08 gerasimvol

Would this issue be resolved by updating the body-scroll-lock dependency in this project to the latest version?

DamianMullins avatar Nov 01 '19 14:11 DamianMullins

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

phegman avatar Nov 01 '19 17:11 phegman

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.

phegman avatar Nov 06 '19 05:11 phegman

I have the same problem!

2012894192 avatar Jun 06 '20 11:06 2012894192

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?

riddla avatar Jun 28 '21 09:06 riddla

Have the same problem on iOS 15+. Upgrade the body-scroll-lock for the last version (4.0.0-beta.0) not working

Candy-Fl avatar Sep 21 '22 03:09 Candy-Fl