darkmoon_uk
09/14/2021, 3:43 AMdarkmoon_uk
09/14/2021, 3:48 AMRelocationRequester
modifier to the TextField
and use it in onFocusChanged
, to bring the text field back into view. The problem is, this fires too early, before the keyboard is fully shown, and so the problem remains.
The next logical branches from this path would be to also monitor the keyboard state (Complex) or add a delay to the relocation request (Yuck 🤮), but then this whole mechanism starts to feel unexpectedly complex to apply to every field, for what is a very common use-case?darkmoon_uk
09/14/2021, 3:54 AMadjpd
09/14/2021, 9:33 AMTextField
to be visible when the keyboard appears, adjustResize
in your AndroidManifest.xml
is your friend.adjpd
09/14/2021, 9:34 AMLazyColumn
, however, where the screen is resized but the TextField
isn't above the keyboard. I should write about it later.darkmoon_uk
09/14/2021, 12:25 PMfabio.carballo
09/30/2021, 8:15 PMadjpd
09/30/2021, 8:32 PMdarkmoon_uk
09/30/2021, 11:43 PMRelocationRequester
on it after a brief (~400ms) delay 🤢 Will see if the solution in thread offers an improvement.darkmoon_uk
09/30/2021, 11:44 PMdarkmoon_uk
09/30/2021, 11:48 PMadjpd
10/01/2021, 12:01 AMdarkmoon_uk
10/01/2021, 12:08 AM