I need to remake an animation made in GSAP in webflow.
The animation is triggered on click, and it can be reversed on second click.
The problem is second click can happen before the first click animation completes.
I would like the animation to reverse from current state.
I made a simple demo => blue bubble expanded on first click and shrank on first click.
As you can see if you second click after animation completes it simply jumps from start state of second animation.