maxwellito / vivus

JavaScript library to make drawing animation on SVG
MIT License
15.25k stars 1.13k forks source link

Vivus not working properly with path stroke dash array #221

Closed steve231293 closed 5 years ago

steve231293 commented 5 years ago

Hello @maxwellito Thank you for making awesome plugin.

I have a question: is Vivus working with svg path stroke dash array?

It's rendering wrong icon with Vivus. Please view my codepen to see problem. https://codepen.io/steve231293/pen/MNawLB

Vivus version: 0.4.4 Browser: Chrome - Mac Os

maxwellito commented 5 years ago

Hi Steve,

Thanks for the kind words and filling the issue correctly :) I'm afraid Vivus does not work with storke-dasharray. The library override the property to animate paths. I must admit this point should be clearer in the readme.md, because you're not the first to ask https://github.com/maxwellito/vivus/issues/10 😅

steve231293 commented 5 years ago

Thank for your reply.