Join Slack
Powered by
How do I get OutLinedTextField to autofocus? I wan...
# compose
n
Nthily
04/02/2021, 8:38 PM
How do I get OutLinedTextField to autofocus? I want the first TextField effect to be displayed as soon as I enter this screen
➕ 1
d
dewildte
04/02/2021, 11:18 PM
You can add a
FocusRequester
to the
Modifier
And then use a
DisposableEffect
to trigger the requester
dewildte
04/02/2021, 11:21 PM
Or a
LaunchedEffect
n
Nthily
04/03/2021, 11:35 AM
thanks It can work
18
Views
Open in Slack
Previous
Next