Hello there,
I'm trying to add Scrolltriggers inside the first of three pinned panels that is longuer than the viewport. Unfortunately, it seems that the further the element is from the top of the pannel, the greater the trigger's offset is.
I tried playing with the order of my animations, using refresh() and sort(). No luck.
In this CodePen, there are multiple text elements with the same selector. If you remove the JS for the pinned panels (and edit some css), the triggers work as intended.
Does anyone have an idea how to properly assign the triggers inside these panels?