nuxodin / ie11CustomProperties

CSS variables (Custom Properties) polyfill for IE11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to get property 'nodetype' of undefined or null reference

anthonyfang02 opened this issue · comments

** Description **
In an Angular application when navigating between routes or when an element is appended and removed that is using inline ie-style, an error is thrown. The error is seen below, it seems to be the case where the element is destroyed and no longer on the DOM.

image

When adding a null check for this element value it fixes the issue.

image

** Version **
4.1.0

Had the same issue with an angularJS router. Would love to have the fix implemented