When clicked fast enough, component throws error like "cannot call function focus() of undefined" #208
Labels
issue/bug-confirmed
Issues about a bug that has been confirmed by a maintainer
Milestone
I found this issue during writing tests with React.TestUtils.
The issue is annoying, but the solution is simple:
in ComponentDidUpdate you must add clearTimeout(this._focusTimeout) before overwriting this._focusTimeout variable with new timeout id.
The text was updated successfully, but these errors were encountered: