Hello,
i'm using React Router v6 for the routing. On my two demo sites are ScrollTrigger Animations that run on useLayoutEffect with gsap.context.
Now i'm trying to incorporate some route transitions with framer-motion, but somehow the Scroll Animations are not working on route change.
I made a simple demo: https://codesandbox.io/s/bold-worker-3f5cnr?file=/src/App.js
Thanks for helping out!