Jump to content
GreenSock

timawork

Please Help. Fast Scrolling Problem

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Sorry for my english. If scrolling to top (use browser scroll bar) the scenes are brokes.

Also if you will fast click on different nav links the scenes brokes. How to resolve this problem?

 

Screenshots attached

post-49271-0-07499400-1482483828_thumb.jpg

post-49271-0-50952200-1482483830_thumb.jpg

See the Pen by aztec (@aztec) on CodePen

Link to comment
Share on other sites

Hi timawork :)

 

Welcome to the forums.

 

You've got a whole lot of code to look through there, but it looks like your problem is related to ScrollMagic rather than GSAP. We do try to keep our support focused on GSAP here. You may want to look into Petr Tichy's site (one of our forum moderators) as he has quite a bit of training related to ScrollMagic.

 

https://ihatetomatoes.net/blog/

https://ihatetomatoe...th-scrollmagic/

https://ihatetomatoe...agic-workshop/ 

 

If you encounter a problem or question that is directly related to GSAP, we are more than happy to help you. We ask that you please provide a simplified CodePen with any requests for assistance. Please review Carl's blog post for information about creating one.

 

http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/

 

Thanks and happy tweening.

:)

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

I've ran into the same problem and the issue is with Scroll Magic not completing it's calculations as you scroll fast. A work around for your navigation is to put a timer delay on nav clicks to prevent the user from spamming clicks but this doesn't solve the issue if the users drags the scroll bar. What you'll have to do is determine if scroll bar is clicked and pre-calculate your scenes or setup a timer on mouserelease check which scenes are not visible and calculate there off states. This is a very hacky and not elegant solution by any means and is a lot of work to implement. This is the very reason I'm going to avoid using scroll magic and rather use a custom scroller where I can control all scroll interactions. 

 

Good luck!

Link to comment
Share on other sites

  • 1 year later...

Hello! You can add duration parameter for prevent this behavior

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