SyntaxFix
Write A Post
Hire A Developer
Questions
The answer with
<div className="player" onKeyDown={this.onKeyPressed} tabIndex={0} >
works for me, please note that the tabIndex requires a number, not a string, so tabIndex="0" doesn't work.