i have a popup like this: ``` val emoji_typing...
# compose-desktop
z
i have a popup like this:
Copy code
val emoji_typing_box_offset_x_px_init = 2.dp.DpAsPx.toInt()
    var show_emoji_popup by remember { mutableStateOf(false) }
    var show_typing_emoji_popup by remember { mutableStateOf(true) }
    var emoji_typing_box_offset_x_px by remember { mutableStateOf(emoji_typing_box_offset_x_px_init) }
    var emoji_typing_box_offset_y_px by remember { mutableStateOf(0) }
    emoji_typing_box_offset_x_px = emoji_typing_box_offset_x_px_init
    emoji_typing_box_offset_y_px = -(70.dp).DpAsPx.toInt()
    val single_letter = 5.dp.DpAsPx.toInt()
    if (show_typing_emoji_popup)
    {
        Popup(alignment = Alignment.BottomStart,
            properties = PopupProperties(focusable = false, dismissOnClickOutside = true),
            onDismissRequest = {},
            offset = IntOffset(emoji_typing_box_offset_x_px, emoji_typing_box_offset_y_px)) {
but when i change the "emoji_typing_box_offset_x_px" and "emoji_typing_box_offset_y_px" values the popup stays in the same place. why? how can i move the popup to cursor position of a textfield below? bonus question: why is offset in pixel and not dp? this makes it extra super hard to calculate
a
Please provide a complete and minimal reproducer (preferably in camelCase)