@rectify-dev/core 2.4.2 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1595,6 +1595,9 @@ var commitMutation = /* @__PURE__ */ chunkAJJIEZ7G_cjs.__name((fiber) => {
1595
1595
  case HostText:
1596
1596
  commitMutationHostText(fiber);
1597
1597
  break;
1598
+ case PortalComponent:
1599
+ listenToAllEventSupported(fiber.stateNode);
1600
+ break;
1598
1601
  }
1599
1602
  }, "commitMutation");
1600
1603
 
@@ -1784,7 +1787,6 @@ var createRoot = /* @__PURE__ */ chunkAJJIEZ7G_cjs.__name((container) => {
1784
1787
  };
1785
1788
  }, "createRoot");
1786
1789
  var createPortal = /* @__PURE__ */ chunkAJJIEZ7G_cjs.__name((children, container, key = null) => {
1787
- listenToAllEventSupported(container);
1788
1790
  return {
1789
1791
  $$typeof: shared.RECTIFY_PORTAL_TYPE,
1790
1792
  type: null,