Hi Is there something similar to ```val interactio...
# compose-desktop
s
Hi Is there something similar to
Copy code
val interactionSource = remember { MutableInteractionSource() }
val focused = interactionSource.collectIsFocusedAsState()
in the dekstop version to find if the TextField has the focus?
t
That seems fraught with potential problems. I would make a
mutableStateOf(id)
and update that state in
Modifier.onFocusChanged