Skip to content

Commit 454322f

Browse files
authored
Update Drawer.jsx
1 parent 2c0d11b commit 454322f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/Drawer.jsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,6 @@ class Drawer extends React.PureComponent {
7272
if (this.props.parent) {
7373
this.container.parentNode.removeChild(this.container);
7474
}
75-
/* this.contextWrapDom.style.transform = '';
76-
this.container.style.opacity = 0;
77-
this.container.style.pointerEvents = 'none';
78-
this.container.style.transition = 'opacity 11.3s';
79-
console.log(this.container)
80-
const removeElemetFunc = () => {
81-
this.container.removeEventListener(transitionEnd, removeElemetFunc);
82-
this.levelDom.forEach(dom => {
83-
dom.style.transition = '';
84-
});
85-
ReactDOM.unmountComponentAtNode(this.container);
86-
this.container.parentNode.removeChild(this.container);
87-
this.container = null;
88-
};
89-
this.container.addEventListener(transitionEnd, removeElemetFunc); */
9075
}
9176
}
9277

0 commit comments

Comments
 (0)