Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Dropdown hiding behind the header

I’m creating a header and I have multiple items in the header like contact, products etc.

So, I’m creating Products with a dropdown, and if I hover then dropdown should appear.

But due to some issue in my styling it goes behind the header.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Here is codesandbox – https://codesandbox.io/s/youthful-worker-btgscc?file=/src/Components/Header.jsx

I’m thinking that this issue is mostly caused by z-index but I tried playing around with it, didn’t work.

>Solution :

Remove overflow: hidden; from your nav it will work

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading