[ui] hide the navbar on scroll

This commit is contained in:
nymkappa
2023-08-21 22:19:05 +02:00
parent 30be7e0f7a
commit bfc3fbe397

View File

@@ -65,4 +65,9 @@ export class MenuComponent implements OnInit {
this.navOpen = false;
}
}
@HostListener('window:scroll', ['$event'])
onScroll(event) {
this.navOpen = false;
}
}