Skip to content

IE11 with URL not working? #43

@byoder7

Description

@byoder7

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions