We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d79a5 commit 735eba0Copy full SHA for 735eba0
src/creators/OverlayViewCreator.js
@@ -4,6 +4,7 @@ import {
4
Component,
5
Children,
6
} from "react";
7
+import ReactDOM from "react-dom";
8
import {default as invariant} from "invariant";
9
10
import {default as defaultPropsCreator} from "../utils/defaultPropsCreator";
@@ -53,7 +54,7 @@ export default class OverlayViewCreator extends Component {
53
54
};
55
56
overlayView.onRemove = function () {
- React.unmountComponentAtNode(this._containerElement);
57
+ ReactDOM.unmountComponentAtNode(this._containerElement);
58
this._unmountContainerFromPane();
59
this._containerElement = null;
60
0 commit comments