Hello,
I am going to do my best to describe what is happening because for some reason it isn't showing on Codepen(I imported react and the like.) I am using useEffect to render out the animations which is just revealing two images, the <h1/>, and a paragraph. It works fine the first time but when I refresh the page, the images get stuck all the way down the page (I set the tl.from y to 1280) and the <h1/> and <p/> are invisible. One image has a little bit of movement but not a lot.
For some reason it isn't executing the TweenMax.to section?
I have these dependencies in my json.package:
"gsap": "^3.6.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",