Ngx-mask: Backspace is not working in IE

Created on 11 Apr 2019  路  7Comments  路  Source: JsDaddy/ngx-mask

I have used mask="(999-9999-999)". When i type 123-4567-897 and try to remove 3, it is removing 4567897 also.

And when i type 123-4 and try to remove 4 by pressing backspace, it is not removing 4 .

P2 IE bug help wanted

All 7 comments

Hi @rakeshnayak360 , this mask means that you can have inputvalue like this '---' which is wrong of course, try the following mask '(099-0999-099)' and it should work well).

hi @Serge0111 thanks for the reply. I followed the same method you mentioned in above comment. But I am facing same issue only when i add [showMaskTyped] = "true". Curosor will not move after i press backspace. Can you share the sample code which runs in all browser especially IE 11. Here is the screenshot of cursor not going back on press of backspace.
image

hi @rakeshnayak360, backspace works in new version for IE, but be sure you add polyfills core-js to your angular project.

Newer version 7.9.8 doesnt work in IE 11 at all.
[polyfills core-js is already added to my project]

hi@rakeshnayak360, could you provide please screenshot with console?

I have the same problem like @rakeshnayak360 on ie10 and ie11

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dissy123 picture dissy123  路  3Comments

cabbott65 picture cabbott65  路  4Comments

humpedli picture humpedli  路  3Comments

mnagaev picture mnagaev  路  3Comments

ghost picture ghost  路  3Comments