Код: Выделить всё
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Popup(
properties = PopupProperties(
focusable = true,
),
) {
var textState by remember { mutableStateOf("") }
TextField(
value = textState,
onValueChange = { textState = it },
)
}
}
}
}

Подробнее здесь: https://stackoverflow.com/questions/785 ... de-a-popup
Мобильная версия