I noticed ,when writing in a `BasicTextField` , th...
# compose
j
I noticed ,when writing in a
BasicTextField
, that pressing the Android back button triggers a “de-focus” of the textfield. This results in the user having to press back twice for backwards navigation: the first press is to de-focus the text field and the second is to actually navigate to the previous screen. Has anyone experienced this too? I assume this is by design, how to work around this (i.e. navigate back immediately without the de-focus first)?
5
d
Oh! I noticed this too and thought that maybe I did something wrong elsewhere, didn't have time to investigate yet. So it's text field who does this... 🙂
i
d
This is even 3 back presses actually: 1. Press BACK → hide keyboard (field is still focused) 2. Press BACK → defocus 3. Press BACK → finally go back
👍 2
j
Thanks we’ve replied back in that thread let’s follow up there.