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] Animation not playing when inherit from SKLottieView #177

Closed
naaeef opened this issue Aug 15, 2023 · 2 comments · Fixed by #270
Closed

[BUG] Animation not playing when inherit from SKLottieView #177

naaeef opened this issue Aug 15, 2023 · 2 comments · Fixed by #270
Labels

Comments

@naaeef
Copy link

naaeef commented Aug 15, 2023

Description

If I inherit from SKLottieView and use this class for showing an animation, the animation is not running / visible. We want to use inheritance to make some customization.

Code

I'm using inheritance like this. If I use CustomSKLottieView, it does not show the animation (see reproduction sample).


public class CustomSKLottieView : SKLottieView
    {
        
    }

Expected Behavior
Animations also work when using inheritance.

Actual Behavior

Animation are not working when using inheritance.

Basic Information

  • Version with issue: 2.0.0-preview.61
  • IDE: Rider
  • Platform: Android and iOS
  • Target Devices: iOS simulator / Android emulator

Screenshots

image
(App should show the animation twice, at the top SKLottieView is used, at the bottom a inherited class is used)

Reproduction Link
LottieReproduction.zip

@naaeef naaeef added the bug label Aug 15, 2023
@PavloLukianets
Copy link

@mattleibow we have the same problem, would be nice to take a look

@PavloLukianets
Copy link

PavloLukianets commented Nov 7, 2023

mattleibow added a commit that referenced this issue Apr 8, 2024
mattleibow added a commit that referenced this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants