Jump to content


Observer on wheel fast issue

Moderator Tag

Recommended Posts

When a user scroll fast the first and the second div animated immediately jumping into the third div.


How i prevent fast scrolling?

See the Pen yLxzXBg by Andy199807 (@Andy199807) on CodePen

Link to comment
Share on other sites

Thanks @GreenSock, but if i reload the page i would like to start from the first div instead of restart from the div it was before. 

How i do this?

Link to comment
Share on other sites

Home i make these animations works even when scroll up and down, can you help me? Please


See the Pen dyqVrJL by Andy199807 (@Andy199807) on CodePen



Link to comment
Share on other sites

Hi @Andy777. This all looks like logic/engineering stuff - you've got it set up to always animate the previous section to scale: 0, height: "0%", display: "none"...so things can only disappear. You never have any animations that would bring those invisible/hidden ones back again. You've gotta add that logic. 


Also, I'd recommend NOT animating height if you can avoid it because that affects layout (causes reflow) which is more expensive for browsers to handle. Typically it's best to animate transforms like scaleY. It's also bad to alter the "display" if you can avoid it (for the same reasons). 


We love helping with GSAP-related questions, but unfortunately we just don't have the resources to provide free general consulting, logic troubleshooting, or "here is my list of requirements, please show me how to build it" tutorials. Of course anyone else is welcome to post an answer if they'd like - we just want to manage expectations.  


You are welcome to post in the "Jobs & Freelance" forum for paid consulting, or contact us directly (we do offer paid consulting services). 

Link to comment
Share on other sites

Understood @GreenSock, how can i contact y'all for paid consulting?

Link to comment
Share on other sites

I sent you a DM. 👍

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.