-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Error Rendering Inputs in Separate Window using Portals #11768
Comments
Tagging as needing investigation. |
Hey Dan, can I help in investigation? |
Sure :-) Try to reproduce and see what and where causes it. |
@gaearon I have reproduced that and tried to solve it to, can you check the pr to see if the implementation is what you are expecting |
Can you prepare a React-less reproduction of this so we can file a bug against Edge? Or has this been solved in the latest Edge? |
Fixed in #11870 but I'll keep it open. The next action item is to prepare a minimal reproduction that doesn't involve React. |
@gaearon sure i will do that. |
Note: per #11870 (comment), the problem is not solved. |
I'm looking to make my first contribution and can take a look at this issue! |
It seems that this can be closed per #11870 (comment) |
I'm still having this problem with Edge 44.17763.1.0 and react-dom 16.7.0. It works fine in IE11. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I am using React's Portals to render react elements in a completely separate (popup) window. When I attempt to render an
<input />
in the popout window, the following error occurs and React fails to render (the window turns white):'enumerable' attribute on the property descriptor cannot be set to 'true' on this object
in react-dom.development.jsWhat is the expected behavior?
The
<input />
renders correctly in the popout window.Steps to reproduce:
I have created a repo you can clone to recreate the issue as I cannot use a service like JSFiddle because of a no access-control-allow-origin error. The main browser window and popout window are on separate domains (popout is machine local) if I use JSFiddle. The repo is just modified clone of create-a-react-app.
The steps to reproduce are included in repo's README.md. The files of interest in the repo are App.js and PopoutPortal.js.
Repo: kgorgi/react-popout-bug
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
The text was updated successfully, but these errors were encountered: