Currently, I am in the process of developing a website using AngularJS and ASP.NET, incorporating Angular Material. However, I encountered an issue where scrolling on the page causes the top navigation to move up the body or essentially "disappear" when clicking on an mdDialog or md-menu. Below is the CSS code responsible for styling the top nav:
.sidebar-header {
position: fixed;
width: 100%;
height: 50px;
background: #ffffff;
padding: 0 10px;
box-shadow: 0px 0px 6px 4px rgba(0, 0, 0, 0.05);
z-index: 998;}
If you want to view what the HTML code looks like when the top nav disappears, click on this link.
I would appreciate any suggestions or advice on how to resolve this bug as I am currently at a loss on how to proceed.
EDIT
You can also check out the js fiddle for reference: here