Is there a glitch with `FocusRequester.requestFocu...
# compose-desktop
a
Is there a glitch with
FocusRequester.requestFocus()
? Seems like that doesn't work on a
TextField
with
Modifier.focusModifier().focusRequester(requester)
blob thinking upside down
Am I missing something?
The field seem to get active (blue bottomline) but no key input appear to go into (until manually pressed with mouse).
s
The focus API is still a bit glitchy, I have quite a bit of issues on Android with it as well, where the IME wouldn't show up.
a
Oh 😮
Then I'd probably wait for a few months more before trying out more stuffs 🤣 (as I also have exams in next month :P)
s
Yeah, I believe the linter even marks it with the
@ExperimentalFocusApi
or something currently. So don't invest too much time into glitches for now 😉
a
Seems no warning for me 🤔
c
you can just wait for alpha11 and it should work 🙂 (if the updates are the same for desktop ?) https://kotlinlang.slack.com/archives/CJLTWPH7S/p1610416777454500
👍 2