My custom toolbar, along with other components, is present in the app I'm working on. In the app.component, the structure looks something like this:
<app-toolbar>
</app-toolbar>
<main>
<a [routerLink]="['/login/en']"></a>
<router-outlet></router-outlet>
</main>
I am aiming to implement the "position=sticky" feature for the toolbar so that it stays fixed at the top of the screen while scrolling. However, due to the absence of a dedicated toolbar for each component, I am unable to do so. The application is built using Angular 5. Is there a straightforward solution to achieve this? Thanks.