[DropdownMenu] Document that the z-index is shared between Content and Portal #812
Replies: 2 comments
-
Absolutely, thanks for raising @LewisAlderman |
Beta Was this translation helpful? Give feedback.
-
Just to add some clarity on this, it isn't technically shared between What you might be seeing is rather for components that are "placed" via our But it's a good shout that we can add a note as to where to apply |
Beta Was this translation helpful? Give feedback.
-
Documentation
I was looking for how to set the
z-index
on thePortal
of theDropdownMenu
, and only by shear luck - and an eagle eyed colleague - did we notice that it was shared (thez-index
set on theContent
was lifted to thePortal
), from the elements devtool view.Can we please make note of this in the docs so it is clear?
Relevant Radix Component(s)
Dropdown menu (and any other that also do this, if applicable)
Beta Was this translation helpful? Give feedback.
All reactions