-
Notifications
You must be signed in to change notification settings - Fork 47.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix email cursor jump #18379
Fix email cursor jump #18379
Conversation
588238f
to
c5af268
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 588238f:
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 67eff27:
|
Co-authored-by: Peter Potapov <dr.potapoff-peter@yandex.ru>
1ff10e4
to
ba2b222
Compare
ba2b222
to
e9049e7
Compare
e9049e7
to
67eff27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me. The delay is technically a behavior change but we did a similar change to fix number bugs in 15.x in a minor. I think it's reasonable because the bug itself is really obnoxious.
I've changed my mind. I think this is possibly more risky. See my comment in #18459. We should definitely fix it but as a part of a more coordinated effort when we can squash many bugs at once. |
fix #15418, #14551
Version of React: 16.13.1
Browser: Chrome 80
Previous behavior:
After deleting of second email separated by space cursor jumps to the beginning.
When typing a space in an empty email input and then literal, the space is deleted and cursor jumps to the beginning.
Altered behavior:
Cursor not moving.