Skip to content

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

Open
@nk-alex

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions