Skip to content

Commit

Permalink
add contains
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Jun 24, 2024
1 parent 43c815f commit 4d2ac43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compat/src/portals.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function Portal(props) {
nodeType: 1,
parentNode: container,
childNodes: [],
contains: () => true,
appendChild(child) {
this.childNodes.push(child);
_this._container.appendChild(child);
Expand Down

0 comments on commit 4d2ac43

Please sign in to comment.