Skip to main content
PRATEEK SHARMA (PwC) 님이 #Lightning Experience에 질문했습니다
Hi,

We have created a lightning component in which we have used a svg icon provided by lightning design system but in IE-11 we are not able to show the icons as expected but the component working fine in Chrome Web Browse. 
답변 2개
  1. 2016년 10월 4일 오후 12:24
    hi Prateek sharma

    this is not a Lightning issue, but a browser compatibility issue. IE 9-11 does not support external resources for svgs (e.g. the use tag with an xlink:href), so writing this inline is the best option. There are some really nasty hacks available online, such as https://github.com/jonathantneal/svg4everybody,

    Note: SVG components are not visible to community users as well!

    i hop it helps you

    Mark it best answer if it helps you so it make proper solution for others :)

     
0/9000