-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Popover] Invariant Violation: findComponentRoot(...) from unclosed <noscript> #3586
Comments
Spotted the same issue with DropDownMenu |
@echenley I don't manage to reproduce this issue. Can you help me? |
@oliviertassinari It looks like this might be a bug in React. It doesn't properly handle nested If you inspect the source here, you'll see the same thing: http://codepen.io/anon/pen/BKjVpZ I'm not sure if that's intentional. In the meantime you might have to use an empty |
That sounds like a reasonable fix. Do you want to submit a PR? |
Testes with react 15.0.0-alpha.1 and it still happens |
@oliviertassinari Yes, working on a PR! |
@mbrookes In React 0.14, nested |
Odd - I'm not getting any invariant violation here when I revert the change in #3647 (React 0.14.7). But I don't understand the use of |
It looks like |
I could re-implement |
The |
Sure, but why |
I'm not entirely sure, but React renders |
Maybe. Anyway, rather than revert to |
I have a universal app with HMR in development. I noticed something very strange when using an
<IconMenu />
.My code:
The rendered HTML:
If you look at the highlighted part, there is an extra, unclosed
<noscript>
in there. I believe this is what's causing issues.Edit:
Looks like it's coming from the
react-event-listener
library: https://github.com/callemall/material-ui/blob/master/src/popover/popover.jsx#L384@oliviertassinari
Versions
Material UI Version: 0.15.0-alpha.1
React: 0.14.7
Browser: Chrome
The text was updated successfully, but these errors were encountered: