Has anyone faced the problem of keyboard not showi...
# compose
k
Has anyone faced the problem of keyboard not showing up after focusing a textfield? I'm using an
OutilnedTextField
with
savedInstanceState (<textfield-saver>) { TextFieldValue(state.text) }
Putting app in background an reopening fixes this issue. I'm not sure if I'm doing any wrong or there's a subtle issue in compose
2
v
I used BasicTextField, but yeah the soft keybord doesnt show up , so I just click on any keyboard key as it enters 1 letter and then it shows up
j
cc @Siyamed
s
I frequently experience the soft keyboard failing to show up, but there is also a new bug in
alpha08
where the textfield won’t receive focus if a composable is on top, i.e. if you’ve created your own placeholder like in JetChat. The workaround is to put your placeholder behind the
BasicTextField
within a
Box
, instead of in front.
r
I've noticed with
TextField
the keyboard won't show up for me unless I explicitly pass in the KeyboardOptions.
k
My observation is that, it has something to do with
savedInstanceState
used to store
TextFieldValue
. When I use simple
remember
, this doesn't seem to happen.