Z-Rotation Bug on menu animation

Public share link: Webflow - Tim Freitag

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!