Cannot read property 'tagName' of undefined
See original GitHub issueI have the error “Cannot read property ‘tagName’ of undefined” which appears systematically on Angular. The grid is displayed if I don’t set the isOverflowScroll option to true even if the error occurs several times. But if I set it to true the grid is not displayed at all. Cannot find the cause of the problem.
ERROR TypeError: Cannot read property 'tagName' of undefined
at lazyloaded.esm.js:221
at Array.forEach (<anonymous>)
at check (lazyloaded.esm.js:220)
at RenderManager.__proto.render (infinitegrid.esm.js:1656)
at next (infinitegrid.esm.js:3447)
at NgxGridLayoutComponent.next [as nextFunction] (infinitegrid.esm.js:3511)
at NgxGridLayoutComponent.ngAfterViewChecked (egjs-ngx-infinitegrid.js:155)
at callProviderLifecycles (core.js:32331)
at callElementProvidersLifecycles (core.js:32293)
at callLifecycleHooksChildrenFirst (core.js:32275)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:20 (9 by maintainers)
Top Results From Across the Web
Cannot read property 'tagName' of undefined #1107 - GitHub
I was expecting [Y]. No error should be thrown. The following error is what I get: ERROR TypeError: Cannot read property 'tagName' of...
Read more >Cannot read properties of undefined (reading 'tagName')
It's common for nested loops, to use a different loop variable, such as while the outer loop uses var i=0; the inner loop...
Read more >Cannot read property 'tagName' of undefined - Telerik Forums
Uncaught TypeError : Cannot read property 'tagName' of undefined in Kendo UI for jQuery | Telerik Forums.
Read more >ember test throw error - Cannot read property 'tagName' of ...
i have migrated ember 3.16 to 3.24 I struck on ember test error. But the app works fine Chrome 88.0 - [17 ms]...
Read more >Cannot read property 'tagName' of null throws at /jslibrary ...
Anyway, there is a workaround to use composed: true and bubbles: true in the custom event definition. onClick(event) { this.dispatchEvent(new ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, that’s right. I will try to create from your Stackblitz an example similar to my app to try to find out what generates the problem. Instead of images, for my part it’s a card component that may or may not have an image.
Thanks
@GitHubish
Do you compare with this? I’ve implemented similar but it’s not reproducible.
https://codesandbox.io/s/ngx-infinitegrid-demo-gridlayout-7diu5