Skip to content

Portal: recent change breaks in IE11 #2886

@traverse

Description

@traverse

Bug Report

A change introduced in #2657 to the portal component causes an error in IE11 when trying to open anything using a portal.

The change:

this.rootNode.style = style || ''

Steps

Use anything with a portal in IE11 and try to open it.

Expected Result

Should open the portal.

Actual Result

Throws the following error:

SCRIPT5045: Assignment to read-only properties is not allowed in strict mode

Which points to the changed line.

Version

semantic-ui-react@0.81.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions