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

fix: cursor 'move' starts from the first cent and jumps to after the collon #50

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

armoucar
Copy link
Contributor

@armoucar armoucar commented May 9, 2021

when an input starts empty '' or 1 char length, the newCaretPosition taken in place will be the size of the input. This avoids the cursor from jumping before the first mask is formatted.

…collon

this changes make sure when an input starts as empty '' or 1 char length, the newCaretPosition taken in place with be the size of the input. This avoids the cursor from jumping before the first mask is formatted.
@armoucar
Copy link
Contributor Author

armoucar commented May 9, 2021

Fixes #49

@codermarcos codermarcos merged commit b6850d4 into codermarcos:master Jun 3, 2021
codermarcos added a commit that referenced this pull request Aug 23, 2024
fix: cursor 'move' starts from the first cent and jumps to after the collon
codermarcos added a commit that referenced this pull request Aug 23, 2024
fix: cursor 'move' starts from the first cent and jumps to after the collon
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.

2 participants