I have created my own navbar, that basically is just a hamburger icon, but on hover, the div with the navbar slides out from the left side of the screen and disappears when hovering out of the navbar. It works all good but for some reason it slides out/appears behind elements on my page that have an interaction (like when I have text that fades in when scrolling into view). When I remove the interactions from these elements, the navbar will appear above the elements. So I guess it has something to do with interactions.
I also tried giving the navbar a really high z indes (100) but it didnāt do anything.
You will see what I mean when you scroll down to the 2nd section. When you then hover over āmenuā, the navbar slides in but is beneath the content from that 2nd section.
No problem Happens to me all the time. I will sit and wonder why something isnāt working, meanwhile, I have forgotten to do the smallest thing to solve the problem. Happy to help