@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.js CHANGED
@@ -1594,6 +1594,9 @@ var commitMutation = /* @__PURE__ */ __name((fiber) => {
1594
1594
  case HostText:
1595
1595
  commitMutationHostText(fiber);
1596
1596
  break;
1597
+ case PortalComponent:
1598
+ listenToAllEventSupported(fiber.stateNode);
1599
+ break;
1597
1600
  }
1598
1601
  }, "commitMutation");
1599
1602
 
@@ -1783,7 +1786,6 @@ var createRoot = /* @__PURE__ */ __name((container) => {
1783
1786
  };
1784
1787
  }, "createRoot");
1785
1788
  var createPortal = /* @__PURE__ */ __name((children, container, key = null) => {
1786
- listenToAllEventSupported(container);
1787
1789
  return {
1788
1790
  $$typeof: RECTIFY_PORTAL_TYPE,
1789
1791
  type: null,