I am using the react polyfills and the site works in IE11 except when using
changeHeight() {
let height = 0;
for (let child of this.Element.current.children) {
height = Math.max(height, child.clientHeight);
}
this.Element.current.style.height = `${height}px`;
}
The error in IE is Object doesn't support property or method 'repeat'
I have defined the browser in the package.json and imported the below
- import 'react-app-polyfill/ie11';
- import 'react-app-polyfill/stable'
but the page will not render.
I am also getting the error
SCRIPT5022: Exception thrown and not caught
main.chunk.js (6068,465)