Jump to content
Search Community

ScrollTrigger fromTo jumping

iDVB test
Moderator Tag

Recommended Posts

Is there an obvious reason why this scrollTrigger animation JUMPS down into its initial location?

I thought it might be the immediateRender.... but I've even tried setting it to true but it only fixes the scrolling into the start trigger.... when you scroll OUT of the start trigger it still jumps.


Essentially, we placed an item in the ideal location with css. Then we want to setup a scrollTrigger animation that moves that item from just above its initial Y to just below its initial Y. 



        scrollTrigger: {
          trigger: container,
          scrub: true,
          start: 'top bottom',
          end: 'bottom top',
          markers: true,
          y: '+=100px',
        { y: '-100px', ease: 'none' },
          y: '-=150px',
        { y: '+150px', ease: 'none' },


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...