mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
🐛 Fix Button removeAttribute error in Edge
close #13216 close ant-design/ant-design-pro#2423
This commit is contained in:
parent
7ccd0285b9
commit
1d0ef997f4
@ -107,7 +107,7 @@ export default class Wave extends React.Component<{insertExtraNode?: boolean}> {
|
||||
}
|
||||
|
||||
resetEffect(node: HTMLElement) {
|
||||
if (!node || node === this.extraNode) {
|
||||
if (!node || node === this.extraNode || !(node instanceof Element)) {
|
||||
return;
|
||||
}
|
||||
const { insertExtraNode } = this.props;
|
||||
|
Loading…
Reference in New Issue
Block a user