You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
a page contains Textfield and when hit a link change the route, it will throw this Error:
Uncaught Error: Invariant Violation: ReactMount: Root element ID differed from reactRootID.
the problem is in react's ReactMount.js: 631 findReactContainerForID(id)
varreactRootID=ReactInstanceHandles.getReactRootIDFromNodeID(id);varcontainer=containersByReactRootID[reactRootID];if("production"!==process.env.NODE_ENV){varrootElement=rootElementsByReactRootID[reactRootID];if(rootElement&&rootElement.parentNode!==container){/*the problem is here:container == <body>rootElement === <div class="mdl-layout__container">rootElement.parentNode === null, but why ???? it should be the <body>*/
The text was updated successfully, but these errors were encountered:
I never experienced this error with the textfield component. Only with the layout.
And based on your log, it seems you're also using the layout component. (from react-mdl or not, it doesn't really matter I think). But it's causing some issues that I described here (google/material-design-lite#1356). I submitted a fix but it cannot be merged before the next major version.
You can easily get my fix and build new js/css material files. I'm also thinking of providing them inside this repo until a proper fix is done in MDL.
a page contains Textfield and when hit a link change the route, it will throw this Error:
the problem is in react's ReactMount.js: 631 findReactContainerForID(id)
The text was updated successfully, but these errors were encountered: