Ant-design-pro: IE Edge Object doesn't support property or method 'removeAttribute' 报错

Created on 27 Sep 2018  ·  21Comments  ·  Source: ant-design/ant-design-pro

IE 浏览器Edge版本 单选框Radio.Group组件切换选项时 报错信息:Object doesn't support property or method 'removeAttribute'

Most helpful comment

We only support IE11 and above, please make sure you test it in right brower.

I get this error in Edge. but never found in IE11 or below

All 21 comments

antd 也有这个问题吗?

这个问题我也遇到了,而且Edge的版本都是17.17134。google了一下也没相关的。我在16版本的Edge试了一下没发现这个问题

看来这个版本的 edge 也有问题
win 刚刚撤回了一次更新,试试下个更新的 edge

嗯,这个在edge上一直报错。没找到具体错误原因

Because I have no Edge, but I found some relative issue about this problem.
removeAttribute doesn't respect boolean attribute's default value
Why element.removeAttribute('selected') not work?

We only support IE11 and above, please make sure you test it in right brower.

We only support IE11 and above, please make sure you test it in right brower.

I get this error in Edge. but never found in IE11 or below

I can see the same issue in the latest version of the Edge browser (17) (tested with Browserstack).
The issue occurs in the wave.js file, specifically: resetEffect method that is called by _this.onTransitionEnd callback.

The problem is that node element in this callback is an Object (not Node) so that this call:

node.removeAttribute(attributeName);

raises: Object doesn't support property or method 'removeAttribute'

Definitely, something has changed in Edge as there was no problem with this in previous versions. I'm not sure though whether it is an Edge issue or antd one.

I am also encountering this issue when clicking on a Button component that is used to submit a form. What I've seen agrees with @pigletto's description.

Same issue here. Here's my full stack trace:

image

(Happens on only IE Edge)

+1,当点击按钮事件后有callback就会出现

l have this problem too.....help~~~

Also having this issue on MS Edge!

Also have this problem.

Same problem with Edge

Has the problem been fixed yet?

yes it's still exist.
it comes from "node_modules/antd/es/_util/wave.js"

same here

screen shot 2018-11-20 at 2 31 13 pm

I updated to the latest version of antd, 3.10.8 and this error is no longer occurring for me.

I think I'm still seeing this in ^3.10.9 but it is possible some clients are getting an older cached version of my app (no versioning in my error logging just yet).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

renyi818 picture renyi818  ·  3Comments

happier2 picture happier2  ·  3Comments

RichardStark picture RichardStark  ·  3Comments

cheung1111 picture cheung1111  ·  3Comments

gaoqiang19514 picture gaoqiang19514  ·  3Comments