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
I got an (node:3708) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'slice' of null error for this SVG fragment: <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
I tracked it down to this code in line 57: let ref = node.getAttribute('href')
Quickly changing it to let ref = node.getAttribute('href') || node.getAttribute('xlink:href') made it work for my case. I'm not familiar enough to suggest this as a general fix, but perhaps somebody more familiar with the meaning behind "href" and "xlink:href" could take a look at this?
The text was updated successfully, but these errors were encountered:
I got an
(node:3708) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'slice' of null
error for this SVG fragment:<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
I tracked it down to this code in line 57:
let ref = node.getAttribute('href')
Quickly changing it to
let ref = node.getAttribute('href') || node.getAttribute('xlink:href')
made it work for my case. I'm not familiar enough to suggest this as a general fix, but perhaps somebody more familiar with the meaning behind "href" and "xlink:href" could take a look at this?The text was updated successfully, but these errors were encountered: