-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#137 [client] Uncontrolled classification inputs
In the classification page, two text inputs were displaying a wrong behaviour: When the user edits the input with the caret not being at the end of the value, the caret moves to the end. I tried encapsulating the problematic text inputs inside a new component to monitor the full lifecycle. The input is not remounted. It sees to much renderings, but does not loses the focus. This means that it is React who does not know where to put that caret. I tried updating React to the latest version, but it does not fix that issue Action taken: - The two problematic inputs are now uncontrolled - A user must press the Enter key or click the submit button (the magnifying glass next to the input) to see the modification become effective
- Loading branch information
Showing
1 changed file
with
17 additions
and
13 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