Help with interactions needed

I’m designing a menu for a website I’m currently working on. Here is the read-only preview:

https://preview.webflow.com/preview/jnm-creators?preview=c96d81b7b2738fe7983db500ebfa63b0

The live website can be visited at http://jnm-creators.webflow.io

Visit the above site. There you’ll see that when you click on the menu for the first time, it nicely comes down from the top, and the nav links and close button then come down one after the other. Then you hit close.

When you click on the menu button a second time to open it again, this time the nav links and cross button do not move the same way they did the first time. Instead they all just stick to the menu and come down along with it. You can see the difference, just open the menu a 2nd or 3rd time and compare with how it was the first time.

How can I fix?

Hi @aditya1

First things first - nice menu! :slightly_smiling_face:

It looks like you need to add some interactions to return the menu to it’s original state.

At the moment, the menu opens, and the animations happen, but when you close the menu - I think that’s literally all that is happening, it closes, but the animations have run their course but don’t have any instructions to revert to their initial state.

Probably the easiest way to approach this is to duplicate the ‘menu open’ animation, and call it ‘new close menu’ - work through the various steps to return them to their original state. Then link the X to this new interaction.

Hope that helps?

1 Like

Thank you very much, this explanation helped me realize what I was doing wrong. I have fixed it now, thanks again.

Feel free to take a look at the above preview/site again, it looks so good now :smiley:

:clap: :tada: - Even a rotating menu button now! Good work :star_struck:

1 Like