Naga
10/25/2022, 4:55 AMZach Klippenstein (he/him) [MOD]
10/25/2022, 2:44 PMNaga
10/25/2022, 3:09 PMCompose BOM 2022.10.00
targetSdk
and compileSdk
set to 33
Adding the simple code snippet if it helps
@Composable
fun KeyboardNavigationDemo() {
Row(
modifier = Modifier
.fillMaxWidth()
.padding(PaddingValues(start = 16.dp)),
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically
) {
AndroidView(
modifier = Modifier.focusable(),
factory = {
MaterialButton(it)
},
update = {
it.text = "View Button"
it.isAllCaps = false
}
)
Text(
modifier = Modifier
.wrapContentWidth(),
text = "Google"
)
Button(
onClick = { }) {
Text(
modifier = Modifier
.wrapContentWidth(),
text = "Compose Button"
)
}
}
}
Zach Klippenstein (he/him) [MOD]
10/25/2022, 3:38 PMNaga
10/25/2022, 3:54 PMNaga
10/25/2022, 3:57 PMModifier.onFocusChanged
gets called with right state of FocusState
but the state of the AndroidView stays the same w/o highlight and W/o Keyboard focusing the AndroidView elementZach Klippenstein (he/him) [MOD]
10/25/2022, 5:12 PMNaga
10/26/2022, 8:01 AMCompose UI : 1.1.1
compileSdk : 32
Will file a bug, thanks @Zach Klippenstein (he/him) [MOD]Zach Klippenstein (he/him) [MOD]
10/26/2022, 3:30 PMNaga
10/27/2022, 3:49 PMZach Klippenstein (he/him) [MOD]
10/27/2022, 4:42 PMNaga
10/27/2022, 5:37 PMNaga
11/09/2022, 10:11 AMRalston Da Silva
02/15/2023, 7:08 PMNaga
07/12/2023, 7:37 AMcompose_ui_version = '1.5.0-beta03'
kotlin_version = '1.8.22'
kotlin_compiler_ext_version = '1.4.8'
Issue still persists.
If possible can you share the plan or priorities with which Compose team is approaching this bug.Naga
07/12/2023, 7:38 AM