Altea Posted August 23, 2021 Share Posted August 23, 2021 Hello everybody, I'm having a hard time to resolve the problem with my current animation. If you click on any of the menu you will see that an animation starts to change the picture showed. The problem is if you click a menu while the animation hasn't finished yet, if you try to click on a menu and then quickly click on a second menu you will see what I mean. Can anyone point to me what I'm doing wrong? Thanks See the Pen YzQzzaM by skie78 (@skie78) on CodePen Link to comment Share on other sites More sharing options...
Solution Cassie Posted August 23, 2021 Solution Share Posted August 23, 2021 You have conflicting tweens here, setting overwrite:true on the exit tween seems to fix the issue. Is this what you're after? See the Pen QWgWwda?editors=0010 by GreenSock (@GreenSock) on CodePen 5 Link to comment Share on other sites More sharing options...
Altea Posted August 23, 2021 Author Share Posted August 23, 2021 Great!!! this is exactly what I needed. Thanks a lot 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now