I'm trying to use imePadding for an item in a list...
# compose
c
I'm trying to use imePadding for an item in a list, and I've set my activity to use
adjust_resize
. This seems to work and the item appears above the keyboard when it's visible. The problem is this is inside a scaffold that has a bottom bar and the bottombar also moves up with imePadding. Is this intended? If so, is there a way to not move your bottomBar up with imePadding?
s
Yeah, if you don't pass the keyboard insets to the bottom bar then it shouldn't move up with it, just apply the systemBars paddings.
c
Thanks for the reply! Yeah, that was it. We also have a bottom bar that needs to be hidden but we're doing that manually when the keyboard pops up. Was hoping for a better way, but alas.