idmission-web-sdk 2.6.3-changeset-release-develop-78427b0 → 2.6.3-changeset-release-develop-fd316b8

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.
@@ -54900,7 +54900,7 @@
54900
54900
  });
54901
54901
  }
54902
54902
 
54903
- var webSdkVersion = '2.6.3-changeset-release-develop-78427b0';
54903
+ var webSdkVersion = '2.6.3-changeset-release-develop-fd316b8';
54904
54904
 
54905
54905
  // GENERATED by scripts/styleBagTypes.mjs from
54906
54906
  // src/__fixtures__/sdk2StyleBags.json and the mapper sweep — do not
@@ -57818,7 +57818,6 @@
57818
57818
  document.body.append(targetElement);
57819
57819
  }
57820
57820
  var root = ReactDOM.createRoot(targetElement);
57821
- root.render(/*#__PURE__*/React.createElement(OverlayContainer, null, component));
57822
57821
  if ('remove' in targetElement) {
57823
57822
  var element_1 = targetElement;
57824
57823
  // Always point at the newest root, even when the wrapper is already
@@ -57868,6 +57867,11 @@
57868
57867
  };
57869
57868
  }
57870
57869
  }
57870
+ // Render after the `.remove()` wrapper is installed. `createRoot` renders
57871
+ // asynchronously, so the order doesn't matter here, but the react-16-compat
57872
+ // branch mounts through the synchronous legacy `ReactDOM.render`: an effect
57873
+ // that calls `.remove()` during the first render must hit the wrapper.
57874
+ root.render(/*#__PURE__*/React.createElement(OverlayContainer, null, component));
57871
57875
  return targetElement;
57872
57876
  }
57873
57877
  function renderComponent(Component, targetElement, options) {