Open DanKaplanSES opened 6 months ago
Describe the bug The begin function is not called when duration is 0. The documentation says it should be:
begin
Both begin() and complete() callbacks are called if the animation's duration is 0.
begin()
complete()
To Reproduce Steps to reproduce the behavior:
Expected behavior The console should print "Begin" 0-"Begin" 3 and "standalone begin". It only prints "complete" logs.
"Begin" 0
"Begin" 3
"standalone begin"
If you change the duration to > 0, it prints as expected.
> 0
Desktop (please complete the following information):
Using anime.js 3.2.2
Describe the bug The
begin
function is not called when duration is 0. The documentation says it should be:To Reproduce Steps to reproduce the behavior:
Expected behavior The console should print
"Begin" 0
-"Begin" 3
and"standalone begin"
. It only prints "complete" logs.If you change the duration to
> 0
, it prints as expected.Desktop (please complete the following information):
Using anime.js 3.2.2