chenglou / chenglou/react-motion

OnRest called too many times for Motion

Open
#348 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi Guys
I am using Motion to do a simple animation of width in my web application.
I want to do a specific action once the animation has completed so I tried using onRest prop.

The issue is that onRest is called too many times. I could not find a onEnd prop like that would get called once animation has completed

Please suggest what I am missing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.