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

ngx-mask has stopped working in IE11.

Open amitger07 opened this issue 7 years ago • 3 comments

It worked earlier. Not sure what the issue is, would love to hear from you. Thanks

amitger07 avatar Mar 21 '19 22:03 amitger07

Had same problem here,

Looks like the newest version uses Array.includes which is not supported in IE11,

Fixed the problem with this polyfill here : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes#Polyfill

keanan-meier avatar Mar 27 '19 18:03 keanan-meier

@amitger07 coming soon updated version

AlexeyDolya avatar Mar 28 '19 09:03 AlexeyDolya

Looks like this issue wasn't really solved or I am missing something here...

While investigating our issues with IE11 and ngx-mask I found:

  • Current state is that ngx-mask is completely broken in IE11 (tested versions 7.9.2 and 7.9.9)
  • Array.prototype.includes is used in a few places throughout the code
  • this commit (also linked above) added the missing polyfill required for IE11 to support Array.prototype.includes.
  • But then another commit by same author (on the very same day) that was intended to update dependencies ended up commenting out all polyfills (not only IE specific ones).

@AlexeyDolya @NepipenkoIgor: I'd suggest to reopen this issue - or should I create a new one??

sambernet avatar Jun 03 '19 09:06 sambernet