rememberPopupPositionProviderAtFixedPosition

@Composable
fun rememberPopupPositionProviderAtFixedPosition(positionPx: Offset, offset: DpOffset = DpOffset.Zero, alignment: Alignment = Alignment.BottomEnd, windowMargin: Dp = 4.dp): PopupPositionProvider

A PopupPositionProvider that positions the popup at the given position relative to the anchor, but never updates it after showing the popup.

Parameters

positionPx

the offset, in pixels, relative to the anchor, to position the popup at.

offset

DpOffset to be added to the position of the popup.

alignment

The alignment of the popup relative to desired position.

windowMargin

Defines the area within the window that limits the placement of the popup.