Jump to content


drawSVG circle IE flipped

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello tweeners,


drawSVG - circle


I'm getting the reverse behaviour on IE in contrast to Chrome and FF.

In my simple example Chrome and FF animate leaving a "u" shape, while in IE leaves a "n" shape.


Any work-a-rounds?




See the Pen PmxVWp by Joostan-33 (@Joostan-33) on CodePen

Link to comment
Share on other sites

Hi @Joostan :)


IE and Edge are quite picky when it comes to drawing circles. One solution is adding an attribute for the stroke-dasharray. Another is converting the circle to a path before animation. (This is done with the MorphSVGPlugin.convertToPath() method).  I actually started a thread on the topic of drawing circles last month and that lead to a lengthy discussion about it. We discussed various workarounds as well as converting it to path. I think there would be a lot of helpful information in there for you. 


Hopefully that helps.


Happy tweening.


  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.