I see that there is currently no onRest callback for StaggeredMotion... Has anyoone figured out another way to tell when the animation is complete?
Thanks!
@nkbt what do you think about adding this? I also need this functionality. I love the project and would be happy to contribute. I propose to add onRest: PropTypes.func property for StaggeredMotion which gets fired when all elements are in resting state. Thoughts? 馃暫
Doing this for TransitionMotion in my fork right now. Looks like StaggeredMotion has a very similar shouldStopAnimationAll that could be used to tell when things are at rest.
Since I mentioned it, I'll note here that the PR for this would probably be similar to #552
Most helpful comment
@nkbt what do you think about adding this? I also need this functionality. I love the project and would be happy to contribute. I propose to add
onRest: PropTypes.funcproperty forStaggeredMotionwhich gets fired when all elements are in resting state. Thoughts? 馃暫