https://kotlinlang.org logo
#compose
Title
# compose
r

Ronnie Magatti

10/16/2020, 10:18 PM
Hey 👋 I’ve got a weird case with text fields here happening on
alpha05
I’ve put up a minimum reproducible example here but the Tl;DR is: text fields either don’t seem to be grabbing focus when they should, or they are but still won’t bring up the keyboard. On the MRE, downgrading
compose_version
to
alpha04
seems to “fix” the issue. The MRE was created on AS Canary 13 selecting new project -> compose activity.
Here’s a video of the issue https://share.getcloudapp.com/04uO2dOW
[Hope nobody minds the cat in the background 🙃🐈]
🐱 2
a

Alexandre Elias [G]

10/17/2020, 2:39 AM
@Ralston Da Silva who has been making bugfixes to text-field focus
r

Ronnie Magatti

10/17/2020, 4:00 AM
Let me know if you need any more info to look into this
r

Ralston Da Silva

10/17/2020, 7:30 PM
Thanks for raising the issue, Ronnie. From the video it looks like the TextField gains focus, but the keyboard isn't being shown. This is a known issue: https://issuetracker.google.com/issues/166197099 It should be fixed when this CL lands: https://android-review.googlesource.com/c/platform/frameworks/support/+/1456460
r

Ronnie Magatti

10/17/2020, 7:35 PM
Good to know! Thanks!