Jump to content
Search Community

Marquee animation jumping/restarting

coltonA test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hello,

 

I have a marquee effect using timelines and I keep noticing this weird bug where the marquee jumps every now and them and I can't figure out why. I attached a simplified bare bones codepen of what I have. 

 

It's a little complicated (luckily not so much with Greensock) but I need the marque to infinitely scroll horizontally, when the user scrolls down the marquee reverses its direction and speeds up a little, once the user stops scrolling the direction and speed return to the original values. And when the user is scrolling up the marquee speed increases. 

 

Any help would be appreciated, thank you!

See the Pen wvpeONg by almaraz333 (@almaraz333) on CodePen

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...