Jump to content
Search Community

Observer on wheel fast issue

Andy777 test
Moderator Tag

Recommended Posts

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

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