I am trying to animate a rotating SVG, but I have two issues:
on mouseEnter sometimes the animation "jumps"
when I try to mouseEnter/mouseLeave several times, the animation get slower/faster and sometimes it stops completely
I am not sure if this issue is due to the fact that I am not using a timeline, but I cannot use it easily because I have a complex animation. Is there a solution without using a timeline?
SVG changing rotation speed on mouse hover
in GSAP
Posted
I am trying to animate a rotating SVG, but I have two issues:
I am not sure if this issue is due to the fact that I am not using a timeline, but I cannot use it easily because I have a complex animation. Is there a solution without using a timeline?
See the Pen YqbBqZ by microcipcip (@microcipcip) on CodePen