Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVG rendering in Microsoft Edge

I'm using <svg> tags using the <use> node to duplicate images within my html page. But these are not rendering in Microsoft Edge. Is there a workaround? Thanks.

like image 653
melvindidit Avatar asked Jun 26 '15 13:06

melvindidit


1 Answers

You'll need to use something like svg4everybody to get this to work. Older versions of the script didn't have the right UA string, but the latest version should correctly target Edge now.

Noticed this myself after upgrading to Windows 10 and updating the script fixed it. IE 9-11 worked fine before the update but not Edge as the UA wasn't included in the check. The npm version was also just updated so you can grab it from there as well.

like image 66
mdmoreau Avatar answered Oct 28 '22 05:10

mdmoreau