@ngrdt/menu 0.0.66 → 0.0.67
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/fesm2022/ngrdt-menu.mjs
CHANGED
|
@@ -834,8 +834,10 @@ class RdtMenuBaseComponent {
|
|
|
834
834
|
this.listenShortcuts();
|
|
835
835
|
afterNextRender(() => {
|
|
836
836
|
this.listenWindowResizeScroll();
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
requestAnimationFrame(() => {
|
|
838
|
+
this.measure();
|
|
839
|
+
this.recalculateChildren();
|
|
840
|
+
});
|
|
839
841
|
});
|
|
840
842
|
}
|
|
841
843
|
recalcChildrenEffect = effect(() => this.recalculateChildren());
|