We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The remove method used by getSVGFromSource when using the raw prop option is not supported by IE (I have tested this with IE 11).
remove
getSVGFromSource
raw
See remove browser compatibility table here: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
A possible solution might be to check if remove is defined, otherwise use the more broadly supported removeChild as such:
removeChild
svg.remove ? svg.remove() : svgContainer.removeChild(svg); // deref from parent element
The text was updated successfully, but these errors were encountered:
@diegocasmo Consider using a polyfill on your end? ChildNode.remove() method in Internet Explorer 9 and higher.
Sorry, something went wrong.
No branches or pull requests
The
remove
method used bygetSVGFromSource
when using theraw
prop option is not supported by IE (I have tested this with IE 11).See
remove
browser compatibility table here: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/removeA possible solution might be to check if
remove
is defined, otherwise use the more broadly supportedremoveChild
as such:The text was updated successfully, but these errors were encountered: