Hey people, how’s everyone doing. A quick compose/...
# compose
m
Hey people, how’s everyone doing. A quick compose/keyboard question: I have a screen with editable textfields and a close button. Pressing the close button goes back to the previous screen by calling
navController.popBackStack()
. It takes a good half a second for the keyboard to hide though after the new screen is already visible. Is that expected behaviour? I also tried hiding the keyboard explicitly before navigating back, by calling
keyboardController?.hide()
first, but that’s even worse. The keyboard disappears immediately as expected, but then reappears for a split second when the new screen is visible, only to go away again (the new screen should never show the keyboard).
f
tried in release build or only debug?
m
Thanks for the suggestion, I gave it a shot but no dice
h
Keyboard appearing and disappearing again after calling
keyboardController.hide
is definitely unexpected. Can you please file a bug?
m
I experimented a bit more, the
keyboardController?.hide()
behaviour I described seems to be unrelated to navigating away from the screen, and is not reproducible on all APIs. I filed a bug here.