We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug After upgrading to version 2.2.1 of lottie-react, limiting the animation to a fixed number of loops does not work.
lottie-react
To Reproduce
Install v2.2.1 of lottie-react (e.g. in a fresh Create-React-App project)
Add the Lottie component:
<Lottie animationData={data} loop={2} />
Open in browser, the animation will run indefinitely, as if loop={true} was set.
loop={true}
Expected behavior The animation should play for the specified amount of loops.
Desktop (please complete the following information):
Additional context The problem was not present with version 2.1.0. It feels like this might be related to #48.
The text was updated successfully, but these errors were encountered:
Hey @alexanderbartl, thank you for reporting. It will be fixed in the next release. 👍🏼
Sorry, something went wrong.
fix: loop property is not propagated to Lottie (#51)
loop
b9bdf6a
This issue was fixed in v2.3.1.
v2.3.1
Gamote
No branches or pull requests
Describe the bug
After upgrading to version 2.2.1 of
lottie-react
, limiting the animation to a fixed number of loops does not work.To Reproduce
Install v2.2.1 of
lottie-react
(e.g. in a fresh Create-React-App project)Add the Lottie component:
Open in browser, the animation will run indefinitely, as if
loop={true}
was set.Expected behavior
The animation should play for the specified amount of loops.
Desktop (please complete the following information):
Additional context
The problem was not present with version 2.1.0. It feels like this might be related to #48.
The text was updated successfully, but these errors were encountered: