react-loader-advanced icon indicating copy to clipboard operation
react-loader-advanced copied to clipboard

Not working in IE 'Object doesn't support property or method 'findIndex'

Open yogi5rathore opened this issue 8 years ago • 4 comments

yogi5rathore avatar Oct 31 '17 09:10 yogi5rathore

getIndex: function getIndex(id) { return this.stack.findIndex(function (loader) { return loader.id === id; });

yogi5rathore avatar Oct 31 '17 09:10 yogi5rathore

Same thing here with IE11

bodtx avatar Nov 02 '17 09:11 bodtx

A polyfill that should fix that problem

ChrisFerrell avatar Nov 05 '17 17:11 ChrisFerrell

Something like babel-polyfill or the polyfill from Mozilla is probably your best bet - I don't think react-loader-advanced should provide this.

jackwilsdon avatar Nov 10 '17 00:11 jackwilsdon