Jump to content
Search Community

Vo Van Trong

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Vo Van Trong

  1. Yes, the problem I get is the same with your codepen, when I re-enable ScrollTrigger, the pin is re-generate. How can I fix that?
  2. Hello, I have a website with an animation scroll trigger, but I want to disable ScrollTrigger when I click in the button to scroll down, I used ScrollTrigger.disable(), and it remove the pin from DOM, and when I re-enable it, the pin is re-regenerate to DOM, which make me move to the top again. How can I disable ScrollTrigger but not remove the pin? Thank you!
×
×
  • Create New...