-
Notifications
You must be signed in to change notification settings - Fork 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
Uncaught TypeError: Cannot read property 'parentElement' of null #980
Comments
Hey @s-a Thanks for the report. Could you provide a way for us to replicate so that we can investigate this issue? For instance is this code available online somewhere? Or better: could you put some code on codepen that replicates the issue. Thanks! |
Yes I started from scratch where the error is more clear. As I am working at an Electron application I' ve testet Google Chrome environment only. So I do not need any polyfills here right? |
Just figured out that the error does not occur when I remove class |
Related to issue #984. This is because it is trying to make the rows selectable on load, but none exist since they are dynamically loaded. |
So how do you create Dynamic Elements for them to be part of the DOM so they can be queried? |
Sorry I can not find more informations about this error. Using MDL 1.0.0.
The text was updated successfully, but these errors were encountered: