We have an animation for hero content to disappear when we scroll out of hero to the next section (projects). In preview mode, it works great! Here’s how it is in preview and occasionally on the published site:
https://drive.google.com/file/d/1AVz_5VJuhmpiIJCXgjo8bV2C22m8nIMC/view?usp=sharing
But most of the time, on the published site, the hero content would just suddenly ‘poof!’ disappear instead of disappearing according to the set animation:
https://drive.google.com/file/d/1CfBPzE7AkxX0a5gpvxhQNaLtpkMRMDoH/view?usp=sharing
We are so puzzled by this! What can we do to get the animation to work reliably each time we scroll out of the hero section?
Thanks so much for your input and time!
Our read-only link is here