I’m having a bit of an issue with compose (see pictures in thread). I have full page content with buttons anchored at the bottom. When i click in a text field, the keyboard is appearing and pushing the buttons up, which ends up shrinking the column the input text is in, and pushing into the scrollable area offscreen.
mattinger
12/21/2021, 3:01 AM
message has been deleted
mattinger
12/21/2021, 3:02 AM
message has been deleted
mattinger
12/21/2021, 1:37 PM
Update on this. I had to add a layout listener to grab the Y position of the text field on layout, and then add a LaunchedEffect to monitor when the keyboard opens and closes. When it opens, i forcibly scroll to the text field. it’s kind of ugly, but it works.
mattinger
12/22/2021, 7:25 PM
This only works when the text field is a direct descendant of the column 😞
mattinger
12/22/2021, 7:25 PM
why must they make it so difficult to do basic ui things