mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-08 19:45:08 +00:00
(@fuse/navigation) Fixed: Vertical navigation blocks scroll if it's destroyed while in 'over' mode and opened
This commit is contained in:
parent
4b8a101a3e
commit
27274c84d6
|
@ -374,6 +374,10 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After
|
||||||
*/
|
*/
|
||||||
ngOnDestroy(): void
|
ngOnDestroy(): void
|
||||||
{
|
{
|
||||||
|
// Forcefully close the navigation and aside in case they are opened
|
||||||
|
this.close();
|
||||||
|
this.closeAside();
|
||||||
|
|
||||||
// Deregister the navigation component from the registry
|
// Deregister the navigation component from the registry
|
||||||
this._fuseNavigationService.deregisterComponent(this.name);
|
this._fuseNavigationService.deregisterComponent(this.name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user