react-scrollmagic icon indicating copy to clipboard operation
react-scrollmagic copied to clipboard

Compatibility with scrolling components

Open andrewrutter opened this issue 4 years ago • 0 comments

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

andrewrutter avatar May 27 '20 11:05 andrewrutter