Nearse Posted December 9, 2020 Share Posted December 9, 2020 Hi, I'm using TweenMax to animate the d attribute of a path svg and the animation it's correct. But in console I see multiple errors: Error: <path> attribute d: Expected number, "…3.8689,438.5242 Z". How can I prevent this errors? It gets really messy. Thanks. See the Pen MWjjpRy by nearse11 (@nearse11) on CodePen Link to comment Share on other sites More sharing options...
Solution mikel Posted December 9, 2020 Solution Share Posted December 9, 2020 Hey @Nearse, Welcome to the GreenSock Forum. You use a very complicated SVG construct. I cannot find the error in the SVG. So here's a simple alternative - using the new GSAP syntax. See the Pen 41344c8d14434bf3ceb3279740bbc3c7 by mikeK (@mikeK) on CodePen Happy waving ... Mikel 3 Link to comment Share on other sites More sharing options...
Nearse Posted December 9, 2020 Author Share Posted December 9, 2020 Hi @mikel, thanks, I've try to simplify my svg using https://www.svgminify.com/ and now it doesn't generate any error. Thanks. N. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now