[ui] hide the navbar on scroll
This commit is contained in:
@@ -65,4 +65,9 @@ export class MenuComponent implements OnInit {
|
|||||||
this.navOpen = false;
|
this.navOpen = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@HostListener('window:scroll', ['$event'])
|
||||||
|
onScroll(event) {
|
||||||
|
this.navOpen = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user