Hello again,
So, I made this very simple codepen as an example as to what I'm having issues with. In my real project I am using Vue 3. However, in this codepen example I'm just using simple html and css. The question I would like to know is, is there a way to use scrollTrigger animation on elements that are inside a element that has an overflow scroll?
So, bare with me for a moment, imagine that the entire box is covering the full width and height of the viewport and it's scrollable. And the child is a div inside this box at the bottom, is there a way that I can get scrollTrigger to animate that child element?
This is what I've been trying to do in my Vue 3 project, however it only has been working when using the body scroll but not elements that are scrollable with overflow auto or scroll.
I hope that makes sense.
link: https://codepen.io/Wisemen221/pen/KKNbJye