Baseflow / LottieXamarin

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
https://baseflow.com
Apache License 2.0
1.21k stars 261 forks source link

Lottie.Forms.AnimationView.OnFinishedAnimation does not fire all the time. #355

Open pmahend1 opened 2 years ago

pmahend1 commented 2 years ago

🐛 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 time

Reproduction steps

Configuration

Version: Com.Airbng.Xamarin.Forms.Lottie 4.0.10

Platform: