Skip to content

Modal Error: Attempted to assign to readonly property #2917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xueyongg opened this issue Jun 14, 2018 · 3 comments
Closed

Modal Error: Attempted to assign to readonly property #2917

xueyongg opened this issue Jun 14, 2018 · 3 comments
Labels

Comments

@xueyongg
Copy link

Bug Report

Steps

Implement a modal component from Semantic-UI-React.
Run it on localhost.
Open that modal on your mobile phone. Iphone 6s was used.

Expected Result

Modal.Content content should appear.

Actual Result

The actual result that happened 💣

TypeError: Attempted to assign to readonly property.
Error occurs in Portal.js line 297

this.rootNode.style = style || ''; // when re-rendering, first remove listeners before re-adding them to the new node

Version

Added into the application through CDN:

2.3.1

Testcase

screen shot 2018-06-15 at 1 23 01 am

@welcome
Copy link

welcome bot commented Jun 14, 2018

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@ghost ghost added the triage label Jun 14, 2018
@layershifter
Copy link
Member

Duplicate #2886.

@nelsondaza
Copy link

Having the same issue in 0.81.1 and 0.81.0.
Rolling back to 0.80.2 fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants