Jump to content
Search Community

Tween effected element bounces

AHHP test
Moderator Tag

Recommended Posts

Hi,

I am using Tween with ScrollMagic 2.0.7,  GSAP 3.0.1 and ScrollMagic GSAP plugin 2.0.5;  the element doesn't move smoothly and when scrolling stopped, it bounces repeatedly.

Tween code is: TweenMax.to(element, 1, {top: 0, ease: 'none'});

Please the attachment.

Any help would be greatly appreciated.

Link to comment
Share on other sites

5 hours ago, Nekiy2 said:

Hi!

 

You use old syntax (better use gsap.to not TweenMax)

 

Better use ScrollTrigger, not ScrollMagic

ScrollMagic is not GSAP plugin

 

If you want better answers please create simple demo on codepen 

Thanks for the response.

I replaced ScrollMagic with ScrollTrigger and it fixed and works ok.

 

  • Like 1
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...