-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: Fix #394 issue with cursor jumping in search components
Since the previous setState was called with older currentValue, the re-render in between onInputChange and setValue used to reset the input value and then set it back to the latest value which caused the cursor to jump to the end. Co-authored-by: Deepak Grover <[email protected]>
- Loading branch information
1 parent
61e0801
commit 3741c3d
Showing
2 changed files
with
4 additions
and
20 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