I'm trying to listen to keyboard events, either onKeyPress or onKeyDown, and neither handler will fire. I know that 1. My keyboard works and 2. The same handler does work for onClick.
e.g. (using ES6 class syntax for my components)
render() {
  return (
    <div
      onKeyPress={function(e){console.log('keypress');}}
      onKeyDown={function(e){console.log('keydown');}}
      onClick={function(e){console.log('click');}}
    >
      ...
    </div>
  );
}
Only 'click' logs to the console. Not sure how the error could be coming from outside this component file, but will include more code if necessary.
 
    