Jump to content
Search Community

daniel-bogart

Members
  • Posts

    4
  • Joined

  • Last visited

Community Answers

  1. daniel-bogart's post in ScrollTrigger not starting ending on selected element / pushing down content was marked as the answer   
    I found the issue! So the ScrollTrigger shouldn't have to be told when to load. GSAP is amazing and ScrollTrigger calls ScrollTrigger.refresh after the DOM is loaded. But what it cannot account for is LazyLoaded content. You must either call ScrollTrigger.refresh somehow after all of the LazyLoaded content is loaded, or you just should not be using lazy loading on that page. In my case, it was a bunch of images. This was driving me absolutely nuts and I'm very happy I got it sorted. 
×
×
  • Create New...