ionic-team / ionicons

Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
http://ionicons.com
MIT License
17.4k stars 2.06k forks source link

[bug]: IE11 Add icons aren't displayed #792

Closed keo9ren closed 9 months ago

keo9ren commented 4 years ago

Following Icons aren't displayed properly in IE11 and old Edge.

Browser: IE11 Microsoft Edge: 44.18362.449.0 Microsoft EdgeHTML: 18.18362

Icons: name: add name: add-circle-outline Haven't tested other icons yet.

Using: @stencil/core: 1.8.9 @ionic/core: 5.0.1

Steps to reproduce: Checkout this repo: https://github.com/keo9ren/ie11addsign

Execute and open in IE11

npm run startie11

Left screenshot is from chrome, on the right IE11 image

joaovictorr19 commented 4 years ago

Hii, Try this:

in src\index.html

Scan0815 commented 4 years ago

Hi @joaovictorr19 on my site, i test with ie edge your script not work. I have the same problems like @keo9ren https://codepen.io/Scan0815/pen/BaNmJbo

keo9ren commented 4 years ago

@joaovictorr19 solution doesn't solve my problem either.

Scan0815 commented 4 years ago

@liamdebeasi can someone tell us if this bug been recognized. On the https://ionicons.com/ page the icons will work in ie11 and edge. Many thanks for you response!

fritee-test commented 4 years ago

Same issue for me on IE 11

viniciuscenci commented 3 years ago

Same problem here, version 5.1.0:

Screen Shot 2020-06-25 at 3 37 39 PM

Seems that something is missing, if I put some fill and stroke, it works:

Screen Shot 2020-06-25 at 3 37 47 PM

Screen Shot 2020-06-25 at 3 42 55 PM

tmwrnr commented 3 years ago

@viniciuscenci's solution works fine, but one note. You need to put these styles on the svg itself, if you were wondering like me where to put these styles.

amandaejohnston commented 9 months ago

Thank you for the issue. IE11 and old versions of Edge are not supported. I did notice that the Ionicons site doesn't have an official browser support table, though; I've raised this with the team internally so we can get one added. In the meantime, referencing the browser support for Ionic Framework is a safe bet: https://ionicframework.com/docs/reference/browser-support#desktop-browsers