I've been trying to implement a mat-toolbar that is located after the initial navigation bar and I can't seem to get it right. I've tried adding the class "position-fixed."
This would work if the initial position was at the top of the page but it is not. Once the user scrolls past the toolbar, it should "stick" to the top of the page.
Any ideas how to implement this? I've tried combinations of
.stickyBar { position: sticky; }
and the position-fixed but no luck.
Any ideas? Thanks