assisrafael/angular-input-masks

Caret does not maintain position when editing value

Open

#115 opened on Aug 21, 2015

 (3 comments) (0 reactions) (0 assignees)JavaScript (330 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (956 stars)
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.

Contributor guide