ScrollTrigger breaks React Router? in GSAP Posted October 28, 2021 On 10/23/2021 at 12:34 AM, spirconi said: Ok, I added the following to the parent component which seems to have done the trick. useEffect(() => { ScrollTrigger.refresh(); }, [ScrollTrigger.getAll()]); Here to report that I had the exactly same issue and this code solved it. Navigating to another page and back breaks scroll triggers.
ScrollTrigger breaks React Router?
in GSAP
Posted
Here to report that I had the exactly same issue and this code solved it. Navigating to another page and back breaks scroll triggers.