It seems that due to animation during orientation ...
# compose
k
It seems that due to animation during orientation change (from portrait to landscape)
focusRequester.requestFocus()
does not open the keyboard. Adding a 300ms delay does solve the issue it seems. Anyone faces the same issue and were you able to solve it better? I'd like to avoid delay.
Copy code
LaunchedEffect(Unit) {
    delay(300)
    focusRequester.requestFocus()
}
s
k
I think it is, the only difference is that I am able to get initial focus every time and open the keyboard. It's just that orientation change does not open the keyboard without delay.