dispatchKeyboard
Dispatches one keyboard event synchronously to the focused component in the most recently committed frame. When focused handlers ignore a Tab press, the retained tree traverses visible accepting owners in cyclic paint order, with Shift reversing direction. Pending geometry uses the same pre-input synchronization as dispatchPointer.
Return
focused or traversal result, or InputResult.Ignored without a committed frame or eligible behavior.
Parameters
event
immutable keyboard event.
Throws
when called from the wrong thread, reentrantly, or while detached.
when focused behavior or cleanup fails; the first failure remains primary.