maybe it is because when composables evaluated to two (dismiss, focus) event, but in the other case (focus, dismiss) event? so in the first case, the keyboard is dismissed then show up, but in the second case, the second keyboard dimiss has no effect because not currently focused. (Haven't looked at what's really happening, just speculating
v
Val Salamakha
06/10/2020, 7:11 AM
Behaviour of the virtual keyboard depends on focus change. In the case from top to bottom, the virtual keyboard is disappeared and appeared.
I/System.out: focus1 trueI/System.out: focus1 falseI/System.out: focus2 true
W/RecordingIC: requestCursorUpdates is not supported
I/System.out: focus2 falseI/System.out: focus3 true
In the case from bottom to top, the virtual keyboard in stable position:
I/System.out: focus3 trueI/System.out: focus2 trueI/System.out: focus3 false
W/RecordingIC: requestCursorUpdates is not supported
W/RecordingIC: requestCursorUpdates is not supported
I/System.out: focus1 trueI/System.out: focus2 false