Keyboard overlaps content of jetpack compose - Fix it with simple approach

preview_player
Показать описание
In this video you will see how to solve "Software keyboard overlaps content of jetpack compose view" issue. Where the keyboard hides some other Composables and this issue gives a bad impression about the app and bad user experience.

Repository:

Buy me a coffee:
Рекомендации по теме
Комментарии
Автор

This is really the easiest way to do this. Thanks for the info

ccspart
Автор

perfect explanation and helpful content, thanks for them

nastenkaoo
Автор

Nice solution bro, liked and suscribed

phoenx
Автор

Didn't work for me for some reason.

Oussamaabdallah
Автор

thanks a lot dude, that was helpful. 👏

bassamnasser
Автор

Interesting bro I was also searching for this

jasmeetsingh-or
Автор

This is pretty clever! One issue is that if there is a TextInput() at the top of your screen (where you put the green Box(), for example) and if that is focused first, then scrolling to the end is the wrong thing to do - your top TextInput() will be hidden as you type into it. The LaunchedEffect(imeState) will always scroll to the end when the IME Keyboard is visible. Any ideas? It seems like this gets significantly more complicated....

ubersticks
Автор

Hey !

I have one movie searching app.. ther is only one activity and in that top of the activity i have just Search movie EditText Box

so I want to open my keyboard with the cursor ponting to the EditText Box

how can I do that?

name
Автор

I want to and Dev Internship from where I can do that ?

name
Автор

very helpful work like a charm, but the scroll state stays at the end, does not reset when I come back to the screen

ChandrikaDesai-zy
Автор

So if the keyboard it at the bottom and if we need to move up the whole layout get pushed up. But in my case only if the content is more the layout need to push up otherwise the layout should get adjusted with the content same as in whatsapp chat app. What to do in that case

cnamita
Автор

Not working for me I do same but not working

keremturgay
Автор

how to apply this to ModalBottomSheet if it contain Textfields

chadisfeir
Автор

Please provide me github link that rememberImeState code

VikasPandey-bh
Автор

Didn't work for me for some reason.

saeedzia