GSAP icon indicating copy to clipboard operation
GSAP copied to clipboard

Promise of zero duration tween is not resolved

Open benwick opened this issue 1 year ago • 0 comments

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

benwick avatar Aug 26 '24 14:08 benwick