You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
Select half of characters with the left mouse key not leaving the input
Continue selection with the left mouse key outside of input
Enter any characters
Result: cursor is on the one before last position
Expected behaviour: cursor is on the last position
Demo:
Reason
The selection lenght is recorded on mouseout event. When mouse leaves the input and selection is not finished yet, the selection is not recorded anymore. The wrong selection length corrupts the cursor position which leads to the error.
Suggested fix
Record the cursor position on keydown event too.
The text was updated successfully, but these errors were encountered:
vvnc
added a commit
to vvnc/ui-mask
that referenced
this issue
Oct 16, 2018
vvnc
changed the title
Cursor moves to the second character after mouse select all and enter new character
Cursor moves to the one before last position after mouse select all and enter new character
Oct 16, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug
Steps to reproduce:
(999) 999-9999
Result: cursor is on the one before last position
Expected behaviour: cursor is on the last position
Demo:
Reason
The selection lenght is recorded on
mouseout
event. When mouse leaves the input and selection is not finished yet, the selection is not recorded anymore. The wrong selection length corrupts the cursor position which leads to the error.Suggested fix
Record the cursor position on
keydown
event too.The text was updated successfully, but these errors were encountered: