Nicolas Patin
08/21/2025, 2:09 PMFocusInteraction.Unfocus
is never called.
I found this old issue that seems close to mine, but I'm not sure.
Any idea if it's a bug or an accessibility feature ? Works fine on Android & iOS (no HoverInteraction
/ FocusInteraction
calls, which seems logic)
(code & video in 🧵)
Thanks 🙂Nicolas Patin
08/21/2025, 2:10 PMBox(
modifier = Modifier.fillMaxSize(),
contentAlignment = Alignment.Center,
) {
Column(
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.spacedBy(24.dp)
) {
Text(
modifier = Modifier.clickable {},
text = "Click me",
)
Box(
modifier = Modifier
.clickable {}
.background(Color.Cyan)
.size(100.dp)
)
}
}
Nicolas Patin
08/21/2025, 2:10 PMAlexander Maryanovsky
08/21/2025, 2:34 PMNicolas Patin
08/21/2025, 2:36 PMAlexander Maryanovsky
08/21/2025, 2:37 PMAlexander Maryanovsky
08/21/2025, 2:38 PMAlexander Maryanovsky
08/21/2025, 2:40 PMNicolas Patin
08/21/2025, 2:42 PMAlexander Maryanovsky
08/21/2025, 2:45 PMAlexander Maryanovsky
08/22/2025, 10:55 AMInputMode.Touch
, I guess, and the focus indication should not be shown.Alexander Maryanovsky
08/22/2025, 10:56 AMAlexander Maryanovsky
08/22/2025, 11:05 AMComposeFoundationFlags.isNonComposedClickableEnabled = false
somewhere at the start of your app.Nicolas Patin
08/22/2025, 12:13 PMAlexander Maryanovsky
08/22/2025, 12:15 PMAlexander Maryanovsky
08/22/2025, 12:15 PM