rememberTooltipPositionProvider
@Composable
PopupPositionProvider that should be used with either RichTooltip or PlainTooltip. It correctly positions the tooltip in respect to the anchor content.
Parameters
positioning
TooltipAnchorPosition that determines where the tooltip is placed relative to the anchor.
spacingBetweenTooltipAndAnchor
the spacing between the tooltip and the anchor content.
@Composable
Deprecated
Deprecated in favor of rememberTooltipPositionProvider API that takes a preferred positioning. Please use rememberTooltipPositionProvider with TooltipAnchorPosition.Above if this same behavior is desired.
Replace with
rememberTooltipPositionProvider(TooltipAnchorPosition.ABOVE, spacingBetweenTooltipAndAnchor)Content copied to clipboard
PopupPositionProvider that should be used with either RichTooltip or PlainTooltip. It correctly positions the tooltip in respect to the anchor content.
Parameters
spacingBetweenTooltipAndAnchor
the spacing between the tooltip and the anchor content.