@ethlete/cdk 5.0.0-next.7 → 5.0.0-next.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ethlete/cdk
2
2
 
3
+ ## 5.0.0-next.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4721513`](https://github.com/ethlete-io/ethdk/commit/47215130cd9b06aad096c441282ae4e32201e3d8) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix overlays throwing if opened from within a reactive context
8
+
3
9
  ## 5.0.0-next.7
4
10
 
5
11
  ### Patch Changes
@@ -6324,7 +6324,7 @@ const [provideOverlayManager, injectOverlayManager] = createRootProvider(() => {
6324
6324
  previousStrategy: prev?.source,
6325
6325
  }) });
6326
6326
  let isFirstRun = true;
6327
- effect(() => {
6327
+ untracked(() => effect(() => {
6328
6328
  const { currentStrategy, previousStrategy } = highestMatchedStrategy();
6329
6329
  if (isFirstRun) {
6330
6330
  isFirstRun = false;
@@ -6333,7 +6333,7 @@ const [provideOverlayManager, injectOverlayManager] = createRootProvider(() => {
6333
6333
  untracked(() => {
6334
6334
  applyStrategy(currentStrategy, previousStrategy, { containerEl, overlayPaneEl, backdropEl, overlayWrapper }, config, cdkRef, overlayRef);
6335
6335
  });
6336
- }, { injector: childInjector });
6336
+ }, { injector: childInjector }));
6337
6337
  };
6338
6338
  const applyStrategy = (currStrategy, prevStrategy, elements, config, cdkRef, overlayRef) => {
6339
6339
  const { containerEl, overlayPaneEl, backdropEl, overlayWrapper } = elements;