And it works fine the first time i click the triggers. However, when I click "info-open" again after I have clicked "info-close", it fires info.reverse(). This is an overlay im toggling and the first open and close works, but when i want to open it again it only fires the reverse animation thus closing the overlay.
Do i need to reset timeline? reverse() is triggered.
in GSAP
Posted
See the Pen MwxwJa by ReGGae (@ReGGae) on CodePen