Hey guys, I'm very new here (& not all that great with programming) - long time lurker, big admirer of GSAP and happy be in the club! I'm hoping somebody here can help me figure out what I'm doing wrong.
I'm basically attempting to convert this simple CodePen into Frontity/React (embed at bottom of post).
Here's the link to my CodeSandbox
https://codesandbox.io/s/xenodochial-saha-mfj42?file=/packages/mars-theme/src/components/test-scroll.js
The errors I get seem to come from my scroll-test.js file. No matter what I do, I can't seem to get any ScrollTrigger action (or even basic 'to' motion). There have been some phantom moments once I've changed some code to target a different element, the page instantly begins to animate - but after I refresh, I'm given fatal errors instead. Not really sure what that is...
If I attempt to target certain elements, it won't run.
If I target a previously declared component, it at least runs - but it claims scrollTrigger is an invalid property
I'm left to believe that GSAP isn't properly firing. Any ideas for troubleshooting this problem?
Happy to supply any additional information requested. I tried to follow the rules and created my problem on codesandbox, since it was the only service that had Frontity available.
Cheers,
AGW