Hello everyone,
I'm currently learning ScrollTrigger to replicate thescroll animation showcased on: https://olio-midnight.framer.website/
The one where the image transitions over the title while the title subtly scales down.
Here's my progress so far on CodePen: https://codepen.io/headlessNode/pen/vYMEzxw
While the animation is taking shape, I've encountered an issue with whitespace at the end when manipulating the Y value of the image. I've attempted to adjust the hero's height via ScrollTrigger, but it's resulting in an undesired effect where the height reduces and then reverts to its original state upon animation completion.
I could use some guidance on which properties to modify or utilize to achieve the seamless transition seen on the referenced website. Any assistance you can provide would be greatly appreciated. Thank you for your time and expertise.