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

Layers fly away on mobile #235

Closed
lexleo opened this issue Dec 2, 2017 · 4 comments
Closed

Layers fly away on mobile #235

lexleo opened this issue Dec 2, 2017 · 4 comments
Labels

Comments

@lexleo
Copy link

lexleo commented Dec 2, 2017

On mobile both on iOS and Android parallax layers start to move down, then they reach some limit and fly away or bounce. It happens even if I hardly limit Y motion with 'limitY: 0'. On desktop it stops motion, but with gyroscope seems not.

My demo here: https://lexleo.github.io/parallax/
The same we can see on mobile on parallax.js page: http://matthew.wagerfield.com/parallax/

when we sink into the water if we shift down. It's not so big deal in that case, but on my parallax it is critical, because I have no cover background to optimize parallax total size and parts break apart.

Could someone, please, give advice - is it kind of bug or I'am doing somewhing wrong?!
PS. Oh, thanks for the great lib anyway! :)

@reneroth
Copy link
Collaborator

Did you fix the problem in the meantime? I can't reproduce it right now with my Android.

Pretty cool demo btw!

@lexleo
Copy link
Author

lexleo commented Jan 21, 2018

Thanks! No, unfortunately, I don't know how to, so it's still there.

@lexxwork
Copy link

https://i.imgur.com/a0EZeqT.png
it happens when do fast rotate along x axis about 30-50 degree and stop

@reneroth
Copy link
Collaborator

reneroth commented Apr 6, 2024

duplicate of #249 (other way around to be precise, but closing this one)

@reneroth reneroth closed this as completed Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants