Jump to content
GreenSock

Leolo

Members
  • Posts

    2
  • Joined

  • Last visited

Leolo's Achievements

  1. Thank you very much for your help! I will now need some time to think about and implement the tips because I have relatively little experience with js and gsap. Only after my post I read that nesting the ScrollTriggers is not a good idea anyway. Ouch. Thanks for helping anyway. As a quick fix, your variant with snap for all sections also helps me a lot.
  2. I try to get some vertically scrollable sections that snap softly animated with ScrollTrigger 1. One section (3rd in this example) thereby serves as a ".container" for some panels (red and green in this example) which are scrolled horizontally (ScrollTrigger 2) when the container is entirely in the display. The following sections below should then be scrollable with the snap in the same way as the first sections. Important to say, that I don't want the snap to continue for the horizontal scrolled panels in the container-section. Best would be a solution for content of variable total length inside the container-section. I tried a lot of the similar examples that I found here, but I wasn't able to make them work with the snap-effect and non-snapping panels at the same time. Probably a common mistake. Thank you very much for helping!
×