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