Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jetpack compose not responding to keyboard input on emulator

 var email = remember { mutableStateOf(TextFieldValue("")) }
                OutlinedTextField(
                    value = email.value,
                    onValueChange = {
                        checkUserName(it.text, hint1)
                        email.value = it
                    },
                    label = { Text(getString(R.string.signIn_email_hint)) },

                )

The software keyboard works while keyboard has no response.

Other project not using jetpack compose runs on the same emulator and keyboard works just fine with EditText.

Can anyone help?

I'm sure relative config in emulator are checked

AS version: Android Studio Arctic Fox | 2020.3.1 Canary 4

jetpack compose version = "1.0.0-alpha10"

This Problem has been solved in Compose version 1.0.0-beta04 with AS version: Android Studio Arctic Fox | 2020.3.1 Beta 1

like image 897
ming chen Avatar asked Dec 22 '25 18:12

ming chen


1 Answers

There is a ticket opened for this issue. Looks like the fix was merged already, so it should be available soon. https://issuetracker.google.com/issues/170188271

like image 116
nglauber Avatar answered Dec 24 '25 11:12

nglauber



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!