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

vue-lottie (seemingly) not currently setup for use with canvas elements. #26

Open
Jamesbillard12 opened this issue Dec 28, 2018 · 2 comments

Comments

@Jamesbillard12
Copy link

Jamesbillard12 commented Dec 28, 2018

On review of the current source code located at vue-lottie/src/lottie.vue, it seems that 'svg' has been hard coded in as the renderer for the animation instance. When I modified the source to accept user input I am noticing that if I select to use the 'canvas' option, on reload all of my animations disappear in chrome and firefox, but stay when using Edge. The 'svg' option is working in all the browsers I've tested. Is there something extra I need to be doing to keep this from happening with canvas elements?

https://github.com/chenqingspring/vue-lottie/blob/master/src/lottie.vue

@xing00
Copy link

xing00 commented Jul 21, 2019

same problem...

@Doyouhavefreestyle
Copy link

so am i, i am finding a way to solve it, bro

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

No branches or pull requests

3 participants