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

iphone #5

Open
pgrapes opened this issue Mar 14, 2017 · 0 comments
Open

iphone #5

pgrapes opened this issue Mar 14, 2017 · 0 comments

Comments

@pgrapes
Copy link

pgrapes commented Mar 14, 2017

I find on mobile - at least ios, content shifts to the right when scrolling. So you end up with a white gap to the left. Seems to occur with any theme.

I think ios & getBoundingClientRect aren't playing nicely.

My guess is because the ios navbar shrinks when scrolled & resize doesn't fire

Can it be relative to doc instead of viewport?

rect.left + window.scrollX
rect.top + window.scrollY

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

1 participant