zulin Posted March 9, 2020 Share Posted March 9, 2020 so I have this piece of SVG, the lines seem to be fine, but for some reason when I try to drawSVG them they start with dashed lines and then in the end of duration just jump to 100%, instead of animating. When I just drop it on Vivus Instant (https://maxwellito.github.io/vivus-instant/) it works just fine. Can anyone please point me what might be the cause? See the Pen GRJyomP by zulin (@zulin) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted March 9, 2020 Share Posted March 9, 2020 Hey Zulin and welcome to the GreenSock forums! Thanks for being a Club GreenSock member! DrawSVG should be used on the paths that you want to draw, not a container for the paths. So .fromTo("#obj0 path", ... should work for you 4 Link to comment Share on other sites More sharing options...
zulin Posted March 9, 2020 Author Share Posted March 9, 2020 Thank you, Zach! No I feel a little dumb, should've thought about this in the first place 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