Sean Proctor
11/12/2021, 1:47 AMModifier.onPreviewKeyEvent
, but the keypress is still getting through to the BasicTextField
Modifier.onPreviewKeyEvent
for the KEY_PRESSED
event. I'd like to return true from the KEY_TYPED
event, but there's no clear way to do this. I could maybe remember the keyChar from the KEY_PRESSED
event, and ignore the next KEY_TYPED
event if it matches. It really seems like I'm missing something in the API here.