Skip to content

Conversation

@kishankhakhar
Copy link

#122 Solved the open issue.
Everytime the onFocus function is called, the cursor would point to the end in-order to avoid editing of the current countryflag and code if the user starts typing immediately.

@kishankhakhar
Copy link
Author

kishankhakhar commented Jun 12, 2017

For instance, supposedly if a user is typing a phone number in a login form and in between he goes to a previous field and then comes back to the number field, the complete number typed by him previously gets selected and if he starts typing, the previous value gets overwritten.
To avoid this small issue, i have moved the cursor to the end of the current value everytime the onFocus method is called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant