https://kotlinlang.org logo
#compose
Title
# compose
s

Siyamed

06/10/2020, 2:50 AM
I have absolutely no idea 😳 can't even reason
m

molikto

06/10/2020, 4:53 AM
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 true I/System.out: focus1 false I/System.out: focus2 true W/RecordingIC: requestCursorUpdates is not supported I/System.out: focus2 false I/System.out: focus3 true In the case from bottom to top, the virtual keyboard in stable position: I/System.out: focus3 true I/System.out: focus2 true I/System.out: focus3 false W/RecordingIC: requestCursorUpdates is not supported W/RecordingIC: requestCursorUpdates is not supported I/System.out: focus1 true I/System.out: focus2 false
10 Views