Z-index for elements that need to appear above rc-dock floating tabs and potential modals (~200)
— the menubar, and every PopoverContent.
At 600 this sits above the overlay, modal, and tooltip layers, which is why content portalled out
of a popover needs Z_INDEX_ABOVE_POPOVER to stay visible. Two consequences are unresolved
and deliberately not papered over here: a tooltip triggered from inside a popover
(Z_INDEX_TOOLTIP, 550) renders BEHIND it, and a popover renders OVER a modal dialog
(Z_INDEX_MODAL, 500). Both want the scale re-ordered rather than another constant raised.
Z-index for elements that need to appear above rc-dock floating tabs and potential modals (~200) — the menubar, and every
PopoverContent.At 600 this sits above the overlay, modal, and tooltip layers, which is why content portalled out of a popover needs Z_INDEX_ABOVE_POPOVER to stay visible. Two consequences are unresolved and deliberately not papered over here: a tooltip triggered from inside a popover (
Z_INDEX_TOOLTIP, 550) renders BEHIND it, and a popover renders OVER a modal dialog (Z_INDEX_MODAL, 500). Both want the scale re-ordered rather than another constant raised.