-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(searchbox): SearchBox should not change the state if SearchOnEnte…
…rKeyPress This patch revisits the previous solution to prevent impact on the URL Sync mechanism. It uses the `change` event again and impacts only the behavior of the SearchBox. The solution also contains a refactoring that introduces a default value for the queryHook which reduces the control flow complexity.
- Loading branch information
Alexandre Stanislawski
committed
Jun 2, 2017
1 parent
d6ff626
commit 0536b74
Showing
3 changed files
with
17 additions
and
19 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
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
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