How do you make it so the content of a `LazyColumn...
# compose
p
How do you make it so the content of a
LazyColumn
is not hidden by soft keyboard and
TextInput
when scrolled to bottom? Basically I want "This is message 5" to still be visible when opening keyboard. The activity uses
android:windowSoftInputMode="adjustResize"
and I tried using some padding values from https://google.github.io/accompanist/insets/ without effect.
n
Did you try to set
keyboardPadding
to the very last
Text
?
p
Yes it did not help
s
I don't think this can be solved out of the box. At the current state, the
LazyColumn
will keep the scroll position because it only cares about the first visible item (not the last one). However, I think you can solve it easily by tracking the last visible item and ensuring it is still visible when the keyboard is opened