Status Update
Comments
ra...@google.com <ra...@google.com> #2
Zach, I'm assigning this to you. Feel free to mark it as a duplicate of
kl...@google.com <kl...@google.com> #3
Marking as dup of
as...@gmail.com <as...@gmail.com> #4
For now can we get any workaround possible for this issue?
Description
Jetpack Compose version:
1.0.1
Jetpack Compose component(s) used:
Kotlin version:
1.7.0
While implementing
TextField
withLazyColumn
in jetpack compose , I encountered this issue ofadjustResize
feature (added in the manifest file underactivity
block ) is not working correctly.Following is the gif depicting the issue: pic
As shown in gif above the last visible
LazyColumn
item before the keyboard shows up is "Item number: 26". So after the keyboard shows up, the expected behaviour is to see this "Item number: 26". It should scroll up in sync with the keyboard UI but it ends up hiding some of the lower visible items of theLazyColumn
behind itself.Also if I can get a couple of questions answered related to the above problem it will be helpful for me:
android:windowSoftInputMode="adjustResize"
in the manifest file not sufficient for such situations?TextField
is focused and keyboard is visible -> scroll up the items ofLazyColumn
and when the keyboard hides, but theTextField
is still focused/unfocused, scroll down the items back to their previous place. How can this be achieved?