error: java.lang.IllegalStateException: IrClassSymbolImpl is unbound. Signature: null
at org.jetbrains.kotlin.ir.symbols.impl.IrBindableSymbolBase.getOwner(IrPrivateSymbolBase.kt)
When I attempt to use PopupPositionProvider I get construct time error in ios app in Kotlin multiplatform
@Composable
non-public enjoyable rememberPopupPos(
facet: PopupSide,
onAnchorPos: (pos: IntOffset) -> Unit
) = object : PopupPositionProvider {
override enjoyable calculatePosition(
anchorBounds: IntRect,
windowSize: IntSize,
layoutDirection: LayoutDirection,
popupContentSize: IntSize
): IntOffset {
val popupRect = placePopup(
rect = popupContentSize.toIntRect(),
anchor = anchorBounds.inflate(anchorBounds.minDimension / 10),
facet = facet,
dir = layoutDirection
).constrainOffset(windowSize.toIntRect())
onAnchorPos(anchorBounds.heart - popupRect.topLeft)
return popupRect.topLeft
}
}