-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Trying to get example3 working on IE11 - but it only seems to work with Chrome. Ran into issues, so just tried to get example3 to work on IE11 without success. I can get IE11 to work without the URL setting, but I need the URL to load CSS and javascript link into new window.
Seems to complain about this: react-popout.jsx:123
TypeError: Object doesn't support property or method 'addEventListener'
Which is strange, because I know IE11 does support addEventListener...
(line number, code...)
120 | const popoutWindow = ownerWindow.open(this.props.url, this.props.name || this.props.title, this.createOptions(ownerWindow));
121 | this.setState({ popoutWindow });
122 |
123 | popoutWindow.addEventListener('load', this.popoutWindowLoaded);
124 | popoutWindow.addEventListener('beforeunload', this.popoutWindowUnloading);
125 |
126 | // If they have no specified a URL, then we need to forcefully call popoutWindowLoaded()