assisrafael / angular-input-masks

Opinionated input masks for AngularJS
http://assisrafael.github.io/angular-input-masks/
MIT License
963 stars 329 forks source link

fix caret jumps to end of field on edit/delete #342

Closed albinojunior closed 3 years ago

albinojunior commented 6 years ago

This resolution is continuity of what was started by @viict, some adjustments were made to finally solve the problem that causes the cursor to jump to the end of the field when trying to edit or delete its value in the middle. This solution was tested only with BR masks.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-1.8%) to 97.281% when pulling a0e06cc7169ae87aaf9075b26779d8d4ffb33df6 on albinojunior:master into 595240a651a327aea7702dcdd17663e0711ff187 on assisrafael:master.

assisrafael commented 3 years ago

Closing this PR because it is not providing tests.