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

Compatibility with scrolling components #28

Open
andrewrutter opened this issue May 27, 2020 · 0 comments
Open

Compatibility with scrolling components #28

andrewrutter opened this issue May 27, 2020 · 0 comments

Comments

@andrewrutter
Copy link

We have a landing page project which looks like a great fit for scrollmagic. The design has a navigation bar where the items change state as their respective element comes into view. Unfortunately though, trying to add this into the mix with scrollmagic is breaking the animation triggers. Is there a recommended approach for this using a prebuilt component such as https://github.com/fisshy/react-scroll

I know that the core scrollmagic library does support callbacks which would let me manually control using an on("enter") or on("leave") but I cannot see how to set that up through this abstraction.

Thanks

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