Skip to content
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

[BUG] MAUI SKLottieView doesn't get enabled #282

Open
nk-alex opened this issue Jun 14, 2024 · 0 comments
Open

[BUG] MAUI SKLottieView doesn't get enabled #282

nk-alex opened this issue Jun 14, 2024 · 0 comments
Labels

Comments

@nk-alex
Copy link

nk-alex commented Jun 14, 2024

Description

If you create a SKLottieView with IsAnimationEnabled="False", it won't get enabled even if you set IsAnimationEnabled="True" later from code behind.

Code

<skia:SKLottieView
  x:Name="animationView"
  Source="animation.json"
  HeightRequest="60"
  WidthRequest="60"
  Progress="0"
  IsAnimationEnabled="False"
  VerticalOptions="Center"
  HorizontalOptions="Center">

Expected Behavior

The animation status should be mutable. You should be able to set it to True/False to play/stop the animation. In Android works as expected.

Actual Behavior

In iOS once animation created with IsAnimationEnabled="False", won't play again even after setting IsAnimationEnabled="True" from code behind.

Basic Information

  • Version with issue: SkiaSharp.Extended.UI.Maui 2.0.0 (Tried 3.0.0-preview.7 but my application just crashes)
  • Last known good version: ?
  • IDE: Microsoft Visual Studio 17.10.1
  • Platform Target Frameworks:
    • Android: 28.0
    • iOS: 14.0
  • Target Devices:
    • Device iPhone 15 Plus iOS 17.4
    • Simulator iPhone 15 Plus iOS 17.4
@nk-alex nk-alex added the bug label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant