Click here to Skip to main content
15,886,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I m create angular 6 application.
My UX designer gave some icons to be incorported in our app. I used angular SVG Icon module to incorporate the same.

For the icon which has <use xlink:href ="#varialbel">, it not rendering in IE Edge.

Can you please someone tell the reason for it?

What I have tried:

I removed <use> Element and pasted the original <path> element where xlink:href is pointing to..
Posted
Updated 4-Feb-19 4:42am

1 solution

IE and Edge don't support referencing external files in SVG; you have to use a polyfill:
IE9-Edge12, Safari 5.1-6, and UCWeb 11 do not support referencing external files[^] via <use xlink:href>. Polyfills are available: server-side inlining + snippet[^] - script[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900