I'm working on a CMP app that has a control direct...
# multiplatform
j
I'm working on a CMP app that has a control directly attached to the IME keyboard. On iOS there's a huge gap between the keyboard and the control composable. On Android everything works fine. I tried experimenting with
.ignoresSafeArea(.keyboard)
but nothing seems to help. Claude only comes up with crazy ideas that all didn't help. Does this ring a bell? I found these two issues: https://youtrack.jetbrains.com/projects/CMP/issues/CMP-9010/Layout-issues-opening-keyboard and https://youtrack.jetbrains.com/projects/CMP/issues/CMP-8799/Incorrect-IME-insets-on-iOS None of the hints helped.
The component is within a nested Scaffold, maybe that has something to do with the issue.
The repo is private, but I could give access if someone would be willing to help me investigate. I feel like this is some kind of cmp bug.
On the outer Scaffold there's a Bottombar. It seems that the padding of that isn't correctly consumed. I don't understand why this works flawlessly on Android but not on iOS