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

<svg> attribute viewBox: Expected number, "0 0 undefined undefined" #56

Open
saravanan101198 opened this issue Mar 29, 2021 · 1 comment

Comments

@saravanan101198
Copy link

saravanan101198 commented Mar 29, 2021

Error: attribute viewBox: Expected number, "0 0 undefined undefi…".
Error: attribute width: Expected length, "undefined".
Error: attribute height: Expected length, "undefined".
Error: attribute width: Expected length, "undefined".
Error: attribute height: Expected length, "undefined".

I get the error above
I'm not using react JS #20

var animData = bodymovin.loadAnimation({
container: document.getElementById('animate-a'),
renderer: 'svg',
loop: true,
autoplay: true,
path: '/images/json/data.json'
});

Lottie js version 5.5.10

Any one help me.

@darenjia
Copy link

#31
照那位老哥的方法改一下就可以了

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

2 participants