Jump to content
Search Community

chrill

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by chrill

  1. Do you think I should redesign my code in this way. I loop over all my pinned elements and detect the type of animation I need and set the refreshPriority at that point. What do you think about it ? https://codepen.io/cdeclerck/pen/zYRrWpQ
  2. Ah yes, I understand better. However, what I didn't mention is that I'm not supposed to know the position of each element. I could have a panel before a mask or vice versa. The only solution I found for the moment is to refresh the scrolltrigger of my timeline at each creation (this solution refers to this topic: ) but I find it a bit dirty.
  3. Hello everyone, I have a small problem that I think is due to a design problem or a problem with the scrolltrigger plugin. As you can see on the demo, I have a succession of blocks with either a mask animation or a panel animation. Indeed the mask animation starts before the end of the third layer of my panel animation. Do you have an idea?
×
×
  • Create New...