I want to determine the Popup
position.
I use androidx.compose.ui.window.Popup
As usual in Compose it’s possible to do it, using Modifier
: onGloballyPositioned
But there is 2 issues:
- Popup does not have a modifier as a parameter.
- When I tried to use
onGloballyPositioned
in the child view, it returns zero offset, as I understood it considers Popup like a root layout.
Maybe there are some others approach to get the Popup global position?