-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Sticky parallax #619
Comments
Definitely interested in this feature also!! |
I needed this for a project so decided to try writing it myself. The effect can be accomplished by using React Springs primitives and I've loaded it with comments. Hopefully some of you find this useful and also spot some areas for improvement. https://codesandbox.io/s/scroll-animation-with-react-spring-pndnu |
This comment has been minimized.
This comment has been minimized.
Big thanks to the fantastic @kindoflew this has been released in the latest 9.2.0 beta (6). |
Many parallax libraries have the ability to mark an element as 'sticky' such that as you scroll, certain elements are not scrolled until a certain threshold is reached, eg:
https://stickyroll.github.io/react-stickyroll/
My question is, does react-spring's parallax provide such a feature, or is there a property i can inspect to simulate this effect?
The text was updated successfully, but these errors were encountered: