GSAP
GSAP copied to clipboard
Promise of zero duration tween is not resolved
Well, it is all in the title. Every tween has a then method to wait for a promise. If the tween has a duration of zero the promise is not resolved. That can't be right, can it?
Here is a quick pen: https://codepen.io/benwick83/pen/OJeEmmV
- newest version
- alert is not shown
- change the duration to something other than zero, alert will pop up