ohteepee icon indicating copy to clipboard operation
ohteepee copied to clipboard

Keyboard Focus

Open KamilK2003 opened this issue 2 years ago • 2 comments

Hi, I'm dealing with an issue where, when I switch focus from one tile to another, my view jumps. This is probably related to the fact that the keyboard raises the content higher.

KamilK2003 avatar Nov 09 '23 20:11 KamilK2003

Hi @KamilK2003 Probably it's related to your activity's soft keyboard mode https://stackoverflow.com/a/6765848

Maybe you should android:windowSoftInputMode="adjustPan"

If that doesn't work please share with us a video and the code to be able to help u

ilyasipek avatar Nov 11 '23 15:11 ilyasipek

I suspect that the issue is related to the fact that when transitioning from one tile to another, the focus goes wrong, and the content doesn't keep up with the fact that it should be constantly raised above the keyboard. If I'm mistaken and it's an error in my code, please let me know what I could fix. Regards, Kamil.

https://github.com/composeuisuite/ohteepee/assets/114185778/285d8e1b-eb00-45e1-88ec-cf2ba0126f36

Zrzut ekranu 2023-11-12 o 18 10 03

@ilyasipek

KamilK2003 avatar Nov 12 '23 17:11 KamilK2003