assisrafael / assisrafael/angular-input-masks

Caret does not maintain position when editing value

Open
#115 3 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
955
Forks
329
PR merge metrics
No merged PRs in 30d

Description

This masked input seems to work great when entering values in succession, but when entering values in the middle of the string the caret typically jumps to the end of the input on reformatting. I would expect the caret to be after the character typed.
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26041976-caret-does-not-maintain-position-when-editing-value?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.