Jump to content
Search Community

Potential bug with version 3.11.2?

amit95 test
Moderator Tag

Recommended Posts

I recently upgraded my npm package as I was running on version 3.9.1.

 

Upon upgrading to version 3.11.2, my header animation doesn't work as it use to. 

 

My 3.9.1 demo shows it in working order, where the header hides on scroll down, but shows on scroll up.

 

In the 3.11.2 demo, you will see that the header translates up immediately on load. The animation triggers on page load.

 

Is this a bug or am I missing something here?

 

 

See the Pen gOzzYxP by amit_rai95 (@amit_rai95) on CodePen

 

See the Pen ExLWzoR by amit_rai95 (@amit_rai95) on CodePen

Link to comment
Share on other sites

Sorry about any confusion there - does the latest beta work better? There was a regression related to from/fromTo tweens that we've got fixed in the upcoming release: 

See the Pen Poeeowj?editors=0010 by GreenSock (@GreenSock) on CodePen

 

https://assets.codepen.io/16327/gsap-latest-beta.min.js

https://assets.codepen.io/16327/ScrollTrigger.min.js

  • Like 1
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...