How can I keep dropdown menus open while inspecting them in dev tools?

TheTwelveYearOld@lemmy.world to Firefox@lemmy.ml – 0 points –

The dropdown menu is here: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select

I’d like to change the CSS of the dropdown elements in a <select> element in dev tools, but I can’t make the dropdown stay open.

11

You are viewing a single comment

Can you elaborate on that? What do u mean by OS level?

I really people to be specific do I know these things exactly.

I think Firefox should be able to keep the dropdown menu focused somehow, since its essentially HTML inside the browser engine, and its possible to disable pop hiding for Firefox UI popups in the browser toolbox. The browser toolbox can't inspect page HTML though, only Firefox UI elements.

I don't know if your assertions are right or if mine are either. But my understanding is that dropdowns are an OS feature and consequently the OS is responsible for managing the open and close state of dropdowns, depending on focus. Again, I'm not sure and I'm not expert. It's just what it's looked like to me as an observer.

Well I'll note, I'm on Mac its's not a native dropdown menu, this is what it looks like:

text.