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

Letters Deleted On Mobile

Open ryan-haskell opened this issue 9 years ago • 7 comments
trafficstars

I am using a mask that looks like this: ****-****-****

On my computer, ui-mask works great.

However, on mobile, if I try to type in all letters, the field clears itself after the second character.

What I see:

image

ryan-haskell avatar Aug 18 '16 01:08 ryan-haskell

Exactly the same problem here. My mask is AAA - 9999, When I write the two first letters, the input clears itself. The problem occurs just in mobile too.

frcol avatar Aug 31 '16 18:08 frcol

A stranger thing in happening when I set ui-options="{clearOnBlur:false} thenI write the two letters, click in other input to lost focus, then if I focus again the input with the problem, it lets me finish writing correctly.

frcol avatar Aug 31 '16 18:08 frcol

Haha, what a strange bug. I tried to tweak the settings too, let me know if you find anything that works.

The module is pretty great outside of this issue.

ryan-haskell avatar Aug 31 '16 22:08 ryan-haskell

Exactly the same behaviour here. How do you guys handle this? This seems a very serious issue! I cannot put this in production, that would drive my users crazy no?

alexislg2 avatar Oct 09 '16 13:10 alexislg2

I found no solution for this issue. I just got another plugin angular-input-masks-standalone.min.js that worked for my needs.

frcol avatar Oct 09 '16 18:10 frcol

There's something I don't understand. I'm discovering this repo but it seems to be a very large one, with 269 stars on Github. But it is not working with mobile devices which represents >50% of the web traffic. How can we be only 3 to be annoyed by this issue?

alexislg2 avatar Oct 09 '16 19:10 alexislg2

@frcol is angular-input-masks working? Because I'm having the same problem on it, and then I found that it also uses ui-masks which comes with ui-utils

camilaazuma avatar May 04 '17 18:05 camilaazuma