Skip to content

Commit

Permalink
fix: error ExpressionChangedAfterItHasBeenCheckedError on console
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudAV committed Sep 19, 2024
1 parent 42871b4 commit 13d2b63
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class GioSubmenuComponent implements AfterViewInit, OnDestroy {
this.loaded = true;
this.gioSubmenu.nativeElement.style.height = 'auto';
this.gioSubmenu.nativeElement.style.maxHeight = `0vh`;
this.changeDetectorRef.detectChanges();
}),
// On hover root menu item, open the submenu with top position
switchMap(() => this.gioMenuService.overlayObservable),
Expand Down

0 comments on commit 13d2b63

Please sign in to comment.