You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've identified that some of our lottie animations don't load when we use @lottiefiles/react-lottie-player:3.5.x
This issue has prevented us from using the latest version of this package due to which we are not able to utilize the fixes that have been pushed in future versions. For example, the error event doesn't work on v3.4.9 (#105).
This issue is clearly reproducible. I'm adding the codesandbox links below.
The lottie JSON are available inside the codesandbox repo above.
Things we've tried:
Upload the breaking JSON file to LottieFiles website where it works as intended. We tried downloading a fresh JSON from the site and loading it locally, but it doesn't work either.
We've tried switching to React 17 but the issue still happens irrespective of React version.
Hey @samuelOsborne, thanks for the reply. I thought that all the other packages used and wrapped over this package, since this is the package provided by the company that created Lottie.
Is the airbnb package the official package for react implementation of Lottie?
P.S: I'm curious on why this isn't the official package? :)
@rahulsuresh-git its the other way round :) The airbnb package is the official implementation of Lottie. This repository is a react wrapper on top of it with extra helpers
Overview
We've identified that some of our lottie animations don't load when we use
@lottiefiles/react-lottie-player:3.5.x
This issue has prevented us from using the latest version of this package due to which we are not able to utilize the fixes that have been pushed in future versions. For example, the
error
event doesn't work on v3.4.9 (#105).This issue is clearly reproducible. I'm adding the codesandbox links below.
Consuming repo
Working version (@lottiefiles/react-lottie-player:3.4.9):
https://codesandbox.io/s/un-bug-react-lottie-player-3-4-9-q6gldg?file=/src/App.js
Issue version (@lottiefiles/react-lottie-player:3.5.x):
https://codesandbox.io/s/un-bug-react-lottie-player-3-5-0-hjqx4y?file=/src/App.js
The lottie JSON are available inside the codesandbox repo above.
Things we've tried:
We would appreciate if this is resolved at the earliest. Let me know if you require further information :)
The text was updated successfully, but these errors were encountered: