Hi GSAP team,
I'm trying to animate an array of accordion elements on screen. As each accordion enters the viewport, I want it to animate to height:auto sequentially on scrub (no pinning)
Each 'drawer' start point should be the end of the previous sibling element.
The problem I'm running into is that the start and end triggers are not working as expected because of the initial closed height of each item on first load, so as a consequence of this all accordions open at the same time.
Have tried running an 'update' after complete but had no luck with that, am I approaching this incorrectly?
Any ideas would be great,
Thanks