Skip to content
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

Copy+Paste does not position the cursor at the end (it is 2-3 behind) #131

Closed
ghiscoding opened this issue Jun 18, 2018 · 5 comments
Closed

Comments

@ghiscoding
Copy link

Using mask="000-000-0000" and doing a paste of a phone number like "1234567890" will correcly mask "123-456-7890" but will leave the cursor 2 behind (cursor is between the number 8 and 9). If try a different mask of (000) 000-0000, the cursor is now 3 behind (cursor is now between the number 7 and 8).

@NepipenkoIgor
Copy link
Collaborator

@ghiscoding you expected that cursor should be on the end of input ?

@ghiscoding
Copy link
Author

Yes a paste should always leave cursor at the end

NepipenkoIgor added a commit that referenced this issue Jun 18, 2018
@NepipenkoIgor
Copy link
Collaborator

@ghiscoding please try latest version

@ghiscoding
Copy link
Author

wow thanks for the super fast support. It works :)

@NepipenkoIgor
Copy link
Collaborator

@ghiscoding And you. I am Waiting new issues ))))

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

No branches or pull requests

2 participants