Add popover z index property.#670
Conversation
|
I was hoping, that it could be somehow done without the user having to set it explicitly. Maybe providing a high enough default? |
There was a problem hiding this comment.
I don't think this approach is robust and systematic. z-index is one thing, but current stacking context is actualy the key for it to work. Setting a higher z-index does not help when you are locked inside a stacking context. We need to make sure we are rendering the Popover either a) in the highest stacking context (usually solved via React Portal), or b) in the browser's top layer.
https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Positioned_layout/Stacking_context
|
Closing in favour of a more robust solution than |
|
No description provided.