Skip to content

Comments

Add empty wrapper to fix test issues on .destroy() method (fixed)#24

Open
martyfmelb wants to merge 4 commits intocrello:masterfrom
martyfmelb:master
Open

Add empty wrapper to fix test issues on .destroy() method (fixed)#24
martyfmelb wants to merge 4 commits intocrello:masterfrom
martyfmelb:master

Conversation

@martyfmelb
Copy link

@martyfmelb martyfmelb commented Jul 28, 2020

Like cailborg's destroy() which fixes #22 , but builds OK under TypeScript.

Also some housecleaning:

  • Updated to latest Lottie version (update required so that AnimationItem.destroy has the extra parameter we need)
  • Update to latest TypeScript version
  • Add .idea/ to .gitignore to ease development for any other JetBrains IDE users who might work on this

@cailborg
Copy link

@martyfmelb I ended up switching to lottie-react which didn't have this issue
https://gamote.github.io/lottie-react/

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jest test failing: Cannot set property 'innerHTML' of undefined

2 participants