When you use smooth-scrollbar, React and GSAP ScrollTrigger in multiple React components all animations stop working.
Firstly I thought it's Gatsby issue but the same thing happens for pure React.
Everything works well if you don't use smooth-scrollbar, also everything works well when you use smooth-scrollbar and store all scrollTrigger animations in one useEffect.
But when you move them to other components then all animations stop working.
Try to use my codepen example. Animations don't work but when you comment out scrollTrigger object from the "Other" component then it starts