jquery.formance icon indicating copy to clipboard operation
jquery.formance copied to clipboard

Phone number field acts weird when moving with arrow keys then making changes

Open omarshammas opened this issue 11 years ago • 2 comments

If I fill out the phone number all the way, then go back with the arrow keys and try to delete/change numbers, I get weird behavior

omarshammas avatar Sep 13 '13 20:09 omarshammas

:+1:

And to clarify, the behavior is predictable. When removing a character (via delete or backspace) the cursor stays between the remaining characters, but moves to the end of the input field as another is typed, placing the new character at the end of the input.

To make things more fun, when pasting a character into the position where one was removed (or in place of a currently selected char), Formance behaves as expected.

In all cases the cursor is placed at the end of the input.

(Safari 7, Chrome 30.0.1599.101 on OS X 10.9)

ts avatar Nov 07 '13 16:11 ts

Thanks for the feedback @ts

A fix has been included in the revamp branch, which will hopefully be released soon.

It is isn't perfect, there are still other smaller issues when modifying text in the middle, but it is considerably better.

omarshammas avatar Nov 09 '13 19:11 omarshammas