AHHP Posted June 24, 2020 Share Posted June 24, 2020 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. out2.mp4 Link to comment Share on other sites More sharing options...
_Greg _ Posted June 24, 2020 Share Posted June 24, 2020 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 4 Link to comment Share on other sites More sharing options...
AHHP Posted June 24, 2020 Author Share Posted June 24, 2020 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now