Proper filtering of children
Previously, not all children were being filtered out before the primary animation iteration.
While in that iteration, I was still returning early if the children didn't need to be animated, it was messing with staggerDurationBy
and staggerDelayBy
.
For example, let's say we have a Flip Move with 6 children and a staggerDelayBy
of 20ms.
We move only the last item. Because there is only 1 item being animated, it should start transitioning immediately.
In the previous version, the element would not start transitioning until 100ms later; it was the 6th child in the sequence and even though none of the others were moving, we were still waiting for them.
Fixed now =)