Closed ayitinya closed 1 year ago
This is not directly caused by systemuicontroller
, if downgrading accompanist solves the issue, then it's likely due to the underlying version of Compose also changing.
I think this might be https://issuetracker.google.com/issues/268380384? If there is still an issue on versions with the fix, then please create a new issue on the main Compose issue tracker.
Description Adding implementation "com.google.accompanist:accompanist-systemuicontroller:0.31.0-alpha" to the dependencies causes the soft input keyboard to fail to open when focus is moved to a
textfield
in amodalbottomsheet
Steps to reproduce Using the empty compose material 3 template from idea 2023.1.1 include a modalbottomsheet with a textfield in it add implementation "com.google.accompanist:accompanist-systemuicontroller:0.31.0-alpha" to app dependencies
MainActivity.kt
dependencies
Expected behavior Keyboard should open when focus is on the textfield
Additional context Downgrading to 0.30.1 seems to fix the issue