Bradleycorn
09/20/2021, 2:56 PM@Preview
composable, is there any way to get it to render a piece of UI with focus applied? I tried adding a FocusRequester
and using a LaunchedEffect
in the preview to request focus, but that doesn’t seem to work in the preview.TextField
composable that uses a VisualTransformation
that gets applied only when the TextField has focus. So I’d like to render a preview that shows the TextField with focus so that you can see what the Transform looks like.leandro
09/20/2021, 4:23 PMBradleycorn
09/20/2021, 4:24 PM