Provides a StackingContext to descendants. To use in a custom floating element, consume the StackingContext, then
add the desired z-index value to the stackIndex from the StackingContext, then pass the computed z-index to
the <StackingLayer> and to the component via the style prop. See StackingContext for more details.
Provides a
StackingContextto descendants. To use in a custom floating element, consume theStackingContext, then add the desiredz-indexvalue to thestackIndexfrom theStackingContext, then pass the computedz-indexto the<StackingLayer>and to the component via thestyleprop. See StackingContext for more details.