-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Only One Circle Appears in the Animation Instead of Two #2407
Comments
Additionally, the same issue occurs with |
Your Lottie JSON animation file has a problem; it’s not an issue with the Lottie SDK. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which Version of Lottie are you using?
Lottie 4.4.3
Expected Behavior
2024-05-16.5.02.25.mov
Actual Behavior
2024-05-16.4.59.57.mov
Animation JSON
Lottie Animation Link
doubleSpinner.json
Code
Since our main app is based on SwiftUI, we are using a wrapper around
LottieAnimationView
. However, we have also tried using the SwiftUI version ofLottieView
, and we have attempted the solutions suggested in other issues, including changing theRenderingEngine
. Unfortunately, the problem persists.Thank you for always providing such a great library.
import Lottie
import SwiftUI
struct CustomLottieView: UIViewRepresentable {
var animationFileName: String
let loopMode: LottieLoopMode
}
#if DEBUG
#Preview {
CustomLottieView(animationFileName: "doubleSpinner",
loopMode: .loop)
.frame(width: 200, height: 200)
}
#endif
The text was updated successfully, but these errors were encountered: