// That means the native event is not received by the native component.
// The solution is to dispatch the event directly to the peer if it is not our synthetic event (listeners do not get called).
// Listeners are then called when our synthetic events are dispatched.
ComponentPeer peer = getPeer();
if(peer != null) {
peer.handleEvent(e);
}
e.consume();
return;
}
super.processKeyEvent(ke);