james
02/12/2022, 10:55 AMwindowSoftInputMode set to adjustResize for on my Activity inside AndroidManifest.xml, I am seeing the following behavior:
• open my modal, textfield gets focus ✅
• hit back button and then:
◦ keyboard closes ✅
◦ at the same time as the keyboard closes, the modal animates onto screen again (even though it was already there)
it just took me quite a while to figure out what was causing this, but I have confirmed the behavior doesn't occur if I remove windowSoftInputMode=adjustResize
I've checked and it's not recomposing, and the only line of code in the whole screen which opens the modal (a call to animatoTo()) is not being hit when this occurs
is there something I'm obviously doing wrong here or does this sound like a bug?