Closed okonet closed 7 years ago
Native elements like <input> has public methods like focus and blur that allow programmatically enable specific behaviors. This library doesn't provide such API and makes it impossible to change the state of elements without user interaction.
<input>
focus
blur
Use case: https://github.com/perrin4869/react-focus-onkeydown
Please submit a PR and we will accept it.
Native elements like
<input>
has public methods likefocus
andblur
that allow programmatically enable specific behaviors. This library doesn't provide such API and makes it impossible to change the state of elements without user interaction.Use case: https://github.com/perrin4869/react-focus-onkeydown