SyntheticEvent.type is undefined when received by the handler. Or the nativeEvent type for that matter.
Needs to be added in here somewhere:
|
var event = new SyntheticEvent( |
I realize that it's not sustainable to have to set all the possible fields for a simulated event, but the type at least makes sense for verification that you're getting the right sort of event.