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

Jump when going from positive to negative values #249

Open
SteveEdson opened this issue Apr 23, 2018 · 3 comments
Open

Jump when going from positive to negative values #249

SteveEdson opened this issue Apr 23, 2018 · 3 comments
Labels

Comments

@SteveEdson
Copy link

Example video: https://www.youtube.com/watch?v=RgIh_aHAp4Q&feature=youtu.be

When tilting the phone beyond the vertical point, the scene jumps to an extreme and the edges of the layers are visible. Happening on all devices, Android phones, iPad, iPhone X etc.

@reneroth
Copy link
Collaborator

reneroth commented May 4, 2018

Thank you for taking the time to record this video and file this issue :) I'm unfortunately really short on time right now, but will try to find at least some kind of solution for this in the future. Still have to do more testing, since the values tend to behave differently from device to device and I'm not yet sure how we could calibrate for this.

As always, any helpful ideas or suggestions are highly encouraged!

@reneroth reneroth added the bug label May 4, 2018
@Lacika1981
Copy link

Lacika1981 commented Oct 11, 2018

It has been a problem to me as well. However the bug is still exists but with the limit(x, y) method you can prevent the jump.

var parallaxInstance = new Parallax;
parallaxInstance.limit(20, 20);

@avdeev
Copy link

avdeev commented May 20, 2019

I reproduce this bag.
Trick with limit doesn't work for me.

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

4 participants