Oh right you are building a menu from scratch. I haven’t done this much either, but you are going to need to use interactions to set the initial hidden state of container-nav and also the on click of the burger. you will have to pull that burger out of the menu-right I guess.
Yeah I have that element hidden initially. And then interactions will set first click show and then second click display none again, basically open and close
The issue is I can’t set initial state as display:none - which I am fairly certain is just a bug, theres no reasons for it not to work :S
I don’t see any interactions in your project? You need a “When page starts loading” = hide element to set the initial state by interaction. That works, no bug.
Thanks for posting about this behavior and for bringing this to our attention.
There is a known issue with the visibility settings and the team is currently working on a fix but no timeframe at the moment.
As a workaround, for now you can control the visibility with the display options instead - Looks like you are already using this approach on your site and it is working as expected.
My current solution works, however, there are issues when a browser window is moved from mobile size (With menu open) to a desktop. I can fix this with custom code but this will work for now.
I’ve noticed another issue which I might post about separately.
It looks like this is caused by an adblock extension. The element’s class name is advert which is causing an adblock to kick in and hide that element (GIF). If you rename that element without the word advert you should be good.