Jump to content
Search Community

Reverse() delay to start on mouse leave

A.M. test
Moderator Tag

Recommended Posts

Hi all,

I've started few month ago with GSAP and I really love it! 

 

I'm having problem in reversing a timeline. Basically I want the reverse() method to fire as soon as the mouse leave the box. 

At the moment, depends by how much time I'm hovering the box the reverse() is delayed. 

It seems to me that the timeline is still running whilst I'm hovering the box and that time is affecting the start of the reverse().

 

 

See the Pen RwPKwrP by eandram (@eandram) on CodePen

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