shogogan / racoon-mask

A Angular2 lib for masking
MIT License
17 stars 5 forks source link

Bugfix in getUpdatedCaretPos method #7

Closed wolfy75 closed 5 years ago

wolfy75 commented 5 years ago

Cursor was not moved to the next position after typing the same value at the given digit

shogogan commented 5 years ago

I think that #5 fixed this issue already (yet i'll verify)

shogogan commented 5 years ago

yep, it should work on the racoon-mask-primeng version 1.1.9 (if using the primeng, the base and full needs some work by now, so it is outdated)

wolfy75 commented 5 years ago

I tried it with the mentioned version and it did not work for me.

shogogan commented 5 years ago

Strange, could you simulate it on the stackblitz?

shogogan commented 5 years ago

oh, found it why it didn't work (was testing only with the last character --', totally my bad), would merge your pull request but you deleted the repository :( But will add a new version ASAP

Try with 1.1.10 (just did your pull and worked. if you want to open the PR again to put your name on the commit, just say it :) )

wolfy75 commented 5 years ago

My name is not so important :) I can check it only tomorrow, but I am sure it will be fine. Thanks for the fix!