Any idea on how to adjustPan the software keyboard when a BasicTextField with decorationBox comes in...
t
Any idea on how to adjustPan the software keyboard when a BasicTextField with decorationBox comes into focus? The keyboard appears --> the content scrolls up, but only until the TextField input area. It does not observe the extra padding provided by the decorationBox. Is there either a none jetpack compose specific windowSoftInputMode solution that let me add some extra offset, or is there a decorationBox configuration that I’m missing?
s
Can you file a bug in the compose component re: text, I believe this is a bug in BasicTextField https://issuetracker.google.com/components/612128 If possible a minimal repo, otherwise just mention me and I'll help triage it 🙂.
Thanks!
Bug filed ! Thanks for helping
t
j
I have a related issue when I change focus to a TextField that is hidden under the keyboard. I would expect the TextField to scroll into view, but nothing happens. I'm using accompanist insets so I can still scroll down manually. My use case is a form with multiple TextFields in a Column, and a keyboard action that moves the focus to the next TextField. Should I comment on the issue Timon filed, or file a separate one?
s
Separate one for that (esp. if you have a repro!). It's a known issue that we don't interact with scrolling but repros make great test cases.
j
s
Thanks!