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

Two elements with same data-rellax-speed values moving at slightly different pace #126

Open
btjackson11 opened this issue Sep 4, 2018 · 1 comment

Comments

@btjackson11
Copy link

I have 8 different elements moving at different speeds except for two of them which are both set to:
data-rellax-speed="8"

Both of these elements are moving at a similar pace, but not quite the same and over time that space increases.

See the attached inspector screenshots that show the transforms at different amounts while scrolled.

This is happening on all browsers and mobile as well.

screen shot 2018-09-04 at 4 46 34 pm

@Olindn
Copy link

Olindn commented Nov 9, 2019

It's because the elements have different sizes resulting in a different calculation / position

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

2 participants