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

Parallax: playScale lookup on scroll #48

Open
julesmoretti opened this issue Apr 28, 2020 · 0 comments
Open

Parallax: playScale lookup on scroll #48

julesmoretti opened this issue Apr 28, 2020 · 0 comments

Comments

@julesmoretti
Copy link

Could you please provide a way to show the current playScale position on a scroll in order to set values correctly for Parallax?

Right now those, no not match with the vertical height percentage and I am struggling to determine why that is.

Ideally, something that would work with onUpdate().

instead of onUpdate: (e) => console.log(">>> animation percentage " + e),
onUpdate: (e) => console.log(">>> animation percentage " + e.percentage)
onUpdate: (e) => console.log(">>> animation playScale " + e.playScale)
onUpdate: (e) => console.log(">>> animation offsetTop " + e. offsetTop)

Or something thereof.

Thank you.

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