@ngrdt/menu 0.0.89 → 0.0.91

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, computed, untracked, inject, ElementRef, DestroyRef, Renderer2, ChangeDetectorRef, input, linkedSignal, signal, effect, afterRenderEffect, afterNextRender, HostListener, ViewChild, ViewChildren, ChangeDetectionStrategy, Component, booleanAttribute, numberAttribute, EnvironmentInjector, Directive, ViewEncapsulation, QueryList, NgModule } from '@angular/core';
2
+ import { InjectionToken, computed, untracked, inject, ElementRef, DestroyRef, Renderer2, ChangeDetectorRef, input, linkedSignal, signal, afterRenderEffect, effect, afterNextRender, HostListener, ViewChild, ViewChildren, ChangeDetectionStrategy, Component, booleanAttribute, numberAttribute, EnvironmentInjector, Directive, ViewEncapsulation, QueryList, NgModule } from '@angular/core';
3
3
  import * as i5 from '@ngrdt/icon';
4
4
  import { RdtIconRegistryService, RdtIcon, RdtIconOutletDirective } from '@ngrdt/icon';
5
5
  import * as i1 from '@angular/common';
@@ -261,7 +261,7 @@ class RdtMenuOverlayComponent {
261
261
  }
262
262
  return undefined;
263
263
  }
264
- recalcEffect = effect(() => {
264
+ recalcEffect = afterRenderEffect(() => {
265
265
  this.recalculatePosition(this.preferredHorizontalDir(), this.preferredVerticalDir());
266
266
  });
267
267
  expandedEffect = effect(() => {