Z-Rotation Bug on menu animation

Public share link: https://preview.webflow.com/preview/tim-freitag-14c543?preview=2b7feee1536c3f15c4f3d6cfb64a526d

I’m trying to set up a hamburger icon animation for the navigation. If you open and close the menu button more than once the lines do NOT go back to their original position. Even though I specified this in the animation. It is always off by a couple of pixels. The amount seems random.

Any help on this?
Cheerio

Hi there,

Switch the rotation on 2nd click to “ease” instead of “ease in quad”, and you’ll be fine
Don’t ask me why, I’ve no idea ^^

1 Like

This solved it, thanks!