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

IE11 typeerror object doesn't support property or method 'includes'

Open thibaut129 opened this issue 7 years ago • 3 comments

Hi,

Recently with 7.4.2 I have this error on IE : image

Do you change something in this version ?

Thx

thibaut129 avatar Mar 12 '19 15:03 thibaut129

@thibaut129 in which case it happens?

AlexeyDolya avatar Mar 21 '19 14:03 AlexeyDolya

On loading component. I don't have the problem if I go back on 7.0.1 because you don't use includes in this version....

thibaut129 avatar Mar 26 '19 13:03 thibaut129

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

AlexeyDolya avatar Mar 28 '19 13:03 AlexeyDolya