diff --git a/src/@fuse/components/navigation/vertical/vertical.component.ts b/src/@fuse/components/navigation/vertical/vertical.component.ts index b5eb8da9..8bb9a87b 100644 --- a/src/@fuse/components/navigation/vertical/vertical.component.ts +++ b/src/@fuse/components/navigation/vertical/vertical.component.ts @@ -374,6 +374,10 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After */ ngOnDestroy(): void { + // Forcefully close the navigation and aside in case they are opened + this.close(); + this.closeAside(); + // Deregister the navigation component from the registry this._fuseNavigationService.deregisterComponent(this.name);