fishy
09/13/2026, 7:00 AMonPreviewKeyEvent to an empty box doesn't seem to receive any keyboard input events:
fun main() {
application {
DecoratedWindow(onCloseRequest = ::exitApplication) {
//TitleBar {}
Box(Modifier.onPreviewKeyEvent { event ->
println(event) // never prints anything
false
})
}
}
}seb
09/13/2026, 3:37 PM