Jump to content
Search Community

SimonSays

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by SimonSays

  1. gsap.to(window, {duration: 0, scrollTo: from})
    gsap.delay(time).to(window, {duration: speed, scrollTo: to})
    
    gsap.to(window, {duration: 0, scrollTo: from}).delay(time).to(window, {duration: speed, scrollTo: to})

    I was trying these two ways, but nothign works, anyone have any idea how can i do that in the correct way?

  2. This is what happened after scrolling with animate ScrollTop, so i decided to change to GSAP plugin, but effect is the same. Anyone know what is happening with that jumping scroll?

     


    the code is as simple as this: 

    gsap.to(window, {duration: 4, scrollTo: 400});

     

×
×
  • Create New...