IE 11 “Crashes” when Using Dynamic SVG Elements

后端 未结 2 1802
遇见更好的自我
遇见更好的自我 2020-12-30 19:09

I recently implemented a custom SVG Icon control for my company\'s new html application. Not long After it was implemented our quality department started reporting that IE 1

2条回答
  •  清酒与你
    2020-12-30 19:48

    I was running into this with an that was dynamically added or removed from the DOM with AngularJS and ng-if. The accepted solution did not work for me. The solution that did work was to use ng-show instead which hides and shows the SVG instead of adding and removing it from the DOM.

提交回复
热议问题