Jump to content
Search Community

Bouncing pinned and snapped section

davidtovt test
Moderator Tag

Recommended Posts

  • davidtovt changed the title to Bouncing pinned and snapped section

Hi @davidtovt. You've got a lot going on there. It's usually best to just create a minimal demo (something that doesn't have hundreds of lines of HTML/CSS/JS) to isolate the issue. 

 

From a cursory glance, it looks like probably various logic issues in your code, plus you've got CSS transitions in there which may or may not be causing problems you DEFINITELY should not use those on anything that GSAP is controlling. 

 

You also have scrollTo tweens that have autoKill: false which means they won't allow the user to interrupt. It's fine if you want that, but it can be an annoying experience for end users. 

 

Unfortunately we don't have the resources to provide custom consulting, like "here's my project...please find what's wrong with it" (see the forum guidelines) but we'd be happy to help with any GSAP-specific questions. 

 

If you still need some help, please provide a minimal demo that only has the code that's essential to showing the problem (don't use your real project - just basic <div> elements are fine). The simpler and more focused your demo is, the greater your chances of getting a solid answer will be. It would also help if you were very specific about what problem you're talking about and what we need to do to replicate the issue. 

 

Happy tweening!

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