Is it OK that the first UI element in the composit...
# compose-desktop
y
Is it OK that the first UI element in the composition isn't focused as the application window is shown?
Copy code
singleWindowApplication(title = "Spell Check Events") {
    TextField("value", onValueChange = { })
}
Swing focuses the first element in the hierarchy automatically as the shown window gets focused. Here, I can make it with a
focusRequester
.
a
Maybe not the best behavior, but that’s the intended behavior.
👍 1
y
@Alexander Maryanovsky thank you for clarifying.