Lottie.Forms.AnimationView.OnFinishedAnimation doesn't fire all the time.
I have noticed this in the cases where web-view is part of the Page where animation view is present
Also noticed it in the cases where ImageView is part of the pge where the animation view is present.
So irrespective of what we have the event doesn't get fired sometimes.
As a work-around we are setting explcit Task.Delay but that should not be the ideal way of handling these.
Expected behavior
Should trigger OnFinishedAnimation every time
Reproduction steps
Create a Xamarin forms project and Lottie Xamarin forms NuGet
Add a ContentPage with a Lottie.Forms.AnimationView and Webview
Add OnFinishedAnimation event handler
Subscribe for WebView.Navigated event : Once web page loaded run the animation with AnimationView.PlayAnimation
Notice that OnFinishedAnimaton does not fire all the time.
🐛 Bug Report
Lottie.Forms.AnimationView.OnFinishedAnimation
doesn't fire all the time. I have noticed this in the cases where web-view is part of the Page where animation view is present Also noticed it in the cases where ImageView is part of the pge where the animation view is present.So irrespective of what we have the event doesn't get fired sometimes.
As a work-around we are setting explcit
Task.Delay
but that should not be the ideal way of handling these.Expected behavior
Should trigger
OnFinishedAnimation
every timeReproduction steps
ContentPage
with aLottie.Forms.AnimationView
andWebview
OnFinishedAnimation
event handlerAnimationView.PlayAnimation
OnFinishedAnimaton
does not fire all the time.Configuration
Version: Com.Airbng.Xamarin.Forms.Lottie 4.0.10
Platform: