ui-mask icon indicating copy to clipboard operation
ui-mask copied to clipboard

Bug: caret position after ctrl+v is 3 characters behind

Open feelunreal opened this issue 9 years ago • 4 comments

I'm using: unique-credit-card ui-mask="9999 9999 9999 9999" ui-mask-placeholder-char="space"

And after insert credit card number with Ctrl+V, caret position is 3 characters behind of end of string.

feelunreal avatar Oct 14 '16 05:10 feelunreal

It sounds like this would be fixed by this relatively old pull request: https://github.com/angular-ui/ui-mask/pull/183

I wonder if it can get accepted?

sphanley avatar Oct 24 '16 19:10 sphanley

This may also solve this problem.

https://github.com/angular-ui/ui-mask/pull/200

travist avatar Dec 11 '16 19:12 travist

Just to bump it: https://github.com/angular-ui/ui-mask/pull/183 will really solve the problem: I also had one and made this change to fix it

k-one-o-two avatar Dec 20 '16 07:12 k-one-o-two

Is this still being maintained? I would love to get this fix

ghost avatar Feb 22 '17 19:02 ghost