IE/Edge click on SVG causes error - TypeError: Object doesn't support property or method 'blur'

后端 未结 1 1445
名媛妹妹
名媛妹妹 2021-01-20 17:59

I\'m using an angular component (Angular UI pagination, although I don\'t think it\'s the cause of the problem), and my template includes the following...

&l         


        
相关标签:
1条回答
  • 2021-01-20 18:37

    This fixed the problem

    if (typeof SVGElement.prototype.blur == 'undefined') {
        SVGElement.prototype.blur = function(){};
    }
    
    0 讨论(0)
提交回复
热议问题