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 63e5525 commit eb21247Copy full SHA for eb21247
compat/src/portals.js
@@ -46,14 +46,9 @@ function Portal(props) {
46
parentNode: container,
47
childNodes: [],
48
_children: { _mask: root._mask },
49
- contains: () => true,
50
insertBefore(child, before) {
51
this.childNodes.push(child);
52
_this._container.insertBefore(child, before);
53
- },
54
- removeChild(child) {
55
- this.childNodes.splice(this.childNodes.indexOf(child) >>> 1, 1);
56
- _this._container.removeChild(child);
57
}
58
};
59
0 commit comments