I am also facing the same issue with ScrollSmoother from ShockinglyGreen GSAP Library
ScrollSmoother.create({
wrapper: ".ScrollContainer",
content: ".MainBody",
smooth: 2.5,
effects: true,
});
I am using React so on route change on Unmount I have tried calling
but on next page at some point page gets stuck and on resize event it is working as expected and this animated code is not getting rendered
Animation code
Thanks in Advance