-
Notifications
You must be signed in to change notification settings - Fork 1.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
Lottie animation does not behave as expected inside CollectionView.EmptyView #16584
Comments
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process. |
Even if this issue has been added to the backlog for CollectionView, is there a plan to address it for the CarouselView as well? Screen-Recording-2023-09-19-at-3.mp4Description: When using SKLottieView within a CarouselView on both Android and iOS platforms, we are encountering several issues: Android: The animations are not playing consistently when cycling through the views in the CarouselView. iOS: The first Lottie file doesn't load correctly. Basic Information: Package Version with the issue: "SkiaSharp.Extended.UI.Maui" Version="2.0.0-preview.83" Steps to Reproduce: Create a Xamarin MAUI application. Expected Behavior: We expect the SKLottieView animations to play consistently on both Android and iOS platforms as the user scrolls through the CarouselView. The animations should load correctly, and there should be no noticeable issues with animation playback. It has come to our attention that this issue has been open for a year now. We would like to inquire whether it has already been added to the backlog. We look forward to your support in resolving these issues promptly. Code snippet:
|
Does anyone currently know of a work around for this? I'm using a carousel view within MAUI. |
Hi @AlbertoBvsso. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. |
Description
Lottie animation (from SkiaSharp) does not behave as intended. I've place it inside the emtpy view of a colletion view, but when the collection is empty and as such, the animation should be visible, it's not. But if i cut and repaste the animation XAML code, while the code is still running, the animation now displays correctly. I've posted a question on stackoverflow -> https://stackoverflow.com/questions/76828839/lottie-animation-using-skiasharp-does-not-display-inside-collectionview-empyvi
2023-08-07-15-45-21.mp4
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
7.0.86
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Android 9, Android 13, Windows 10 PRO
Did you find any workaround?
The workaround is to add the lottie animation programmatically as such
Relevant log output
No response
The text was updated successfully, but these errors were encountered: