-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ComboBox): switch from onInputValueChange to onStateChange
Downshift `v1`'s 'onInputValueChange' seems to be called from React state updater function and thus calling `setState()` in `onInputValueChange` handler causes React's "An update was scheduled from inside an update function" warning. Fixes #2543. Fixes #3637.
- Loading branch information
Akira Sudoh
committed
Aug 5, 2019
1 parent
9a07ade
commit 3417836
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters