Hi, would anyone know why the dropdown list goes behind the next dropdown? I've tried everything with z-index, filters, etc. Originally i thought it was Finsweets Multi Select attribute solution, when I removed that it started to work on the live site but not Webflow.
you sure you applied a z-index to the dropdown element itself (and not the dropdown_toggle or dropdown_list)?
I've tried applying z-index to everything, it's strange that it works on the front end (until I add finsweet's dropdown select script, I assume this is because it loads the dropdowns after which affect z-index?)
I think it鈥檚 still something on your end though. We have two finsweet dropdown on https://stotlesnew.webflow.io/reports-new/public-sector-cyber-security (password keyfob) as well, and they work as expected
So strange, read-only link incase anyone is interested: https://preview.webflow.com/preview/manithawani?utm_medium=preview_link&utm_source=des[鈥i&preview=361843a095f6dc3bb4cf5c9942c1dd82&workflow=preview
it鈥檚 not haha, you need to apply a z-index on the dropdown element
either just set it to 0 or 1
It's still covered by the next dropdown
I see. I don鈥檛 know, it鈥檚 weird. Might be a new bug? I can鈥檛 remember this happening in the past. It also happens in my own project now
Dylan H. it looks like its a webflow bug yeah - webflow is adding a z-index: 900; to .w-dropdown which is the main wrapper for the dropdown. Ultimately there's really no reason for a z-index here at all because anything you do, will just continue to overlap each other because they all share the same classes so we just need to add this CSS to overwrite what Webflow is doing - for what reason, I am not sure.
.w-dropdown {
z-index: 0 !important;
}
I guess once you implement this, I would do some extensive testing on as well.
(browsers, devices, etc)
as I am sure a vet like yourself will do but just wanted to call it out anyway! 馃挭
Hey Matt, thanks for chipping in! But unfortunately, it didn't work... 馃槥
I have published 馃憤馃徏
ah okay - so it must have fixed it for me in webflow but not the published site - leading again to finsweet attributes being the issue - taking a look
Can you replace that CSS code I gave you with this one instead? Its very hard to troubleshoot these things when its Finsweet Attributes because you need to publish.
.dropdown_list.w--open {
z-index: 1 !important;
}
It didn't fix it. I removed finsweet attributes now.
Really appreciate you taking a look!
this was on the published URL
Okay got it to work now by adding it to the global styles! Thanks Matt - really appreciate it.
Also, how wide is your screen? 馃ぃ
haha apple studio display 馃 - I have my browser set to 4/5th the full screen with my todo list taking up the last 5th.
I鈥檓 struggling with a similar issue with a dropdown. Tried the method mentioned above, but didnt seem to fix it. Any other thoughts on what I鈥檓 missing here? https://preview.webflow.com/preview/frank-anderson-md?utm_medium=preview_link&utm_sour[鈥&pageId=65e89fff9fa5d735c712af1e&locale=en&workflow=preview