Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

safari ios 13.5, body is not locked #18

Open
n19htz opened this issue Jun 8, 2020 · 4 comments
Open

safari ios 13.5, body is not locked #18

n19htz opened this issue Jun 8, 2020 · 4 comments

Comments

@n19htz
Copy link

n19htz commented Jun 8, 2020

As the title says, body lock works everywhere just fine but safari on ios. How to deal with safari on ios devices? The only thing i found could work is to set additionaly body to position fixed but it breaks scroll position after.

@niklasgrewe
Copy link

@n19htz i have no issues, using an iPad with iOS 13.5.1
i have tested this demo: https://fl3nkey.github.io/scroll-lock/demos/index.html#ex-main

@n19htz
Copy link
Author

n19htz commented Jun 23, 2020

For some reasons I get page scroll locked only if there is no bottom ios natvice bottombar. If I scroll up bottom ios native bar disappears and on its place is a gap. If you try to touchscroll on this gap - the page is scrolling as usually

@joostvanhoof
Copy link

@n19htz I'm currently running into the same issue. Did you manage to fix this? For others reading this I've put a video below. You can see that if you scroll in the bottom part (where the toolbar normally is) you can still scroll. This is using the body-scroll-lock library but it's the same for this one.

Image.from.iOS.MOV

@alpabuz
Copy link

alpabuz commented Jul 13, 2021

I wonder if there are plans to fix this issue soon ...
body-scroll-lock seems to have fixed this issue in the latest update (willmcpo/body-scroll-lock#206)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants