-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can one-way animation looping be implemented? #956
Comments
In the latest canary, you can use the useSpring({
loop: true,
from: { n: 1 },
to: { n: 10 },
}) Note: I have some bug fixes for the |
Thank you and look forward to the next release :) |
Now available in v9.0.0-rc.2 #985 |
u can do so in v8 as well by reset flag
|
@shubhamkes Sort of. That requires you to rerender for each repetition. |
oh is it? thought they are same. is v9.0.0-rc.2 recommended for prod? |
Here is my sample code. If loop is implemented as the following, 1-> 10, 10-> 1, 1-> 10, ... are repeated. But I want to repeat 1-> 10, 1-> 10, 1-> 10. Is there any way?
The text was updated successfully, but these errors were encountered: