I'm trying to do some basic fade in animations when changing to pages but having an issue with it being visible in the final location, and then it running the animation.
i've tried two ways, using the to and from, as well as a fromTo (but didn't include in my codepen).
using the "to" function, it doesn't run again, after leaving and coming back to the page.
using the "from" function, it does run again, but have the visibility issue.
i've messed with css opacity and various opacity settings and autoalpha etc, im at a loss. im new to gsap, so if anyone knows what i can do in this situation, please let me know.
thanks!