supermar10
supermar10

Reputation: 145

Jetpack-compose Scaffold scroll bottomBar when keyboard opens

I'm developing a small jetpack-compose demo chat app. So I need a bar at the bottom with a TextField and a Button to send, just like in WhatsApp.... I figured it would be best to use a Scaffold with a bottomBar.

The problem now is, the bottomBar, is hidden behind the keyboard, when the keyboard opens. Any way around this?

Upvotes: 3

Views: 2787

Answers (1)

AmirKonovalov
AmirKonovalov

Reputation: 161

You probably should try to push your bottomBar by keyboard's inset, using Accompanist lib. https://google.github.io/accompanist/insets/

Upvotes: 1

Related Questions