react-scrollmagic
react-scrollmagic copied to clipboard
Compatibility with scrolling components
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