I've encountered an issue with CSS and Angular 2 material. Any element with a fixed position doesn't behave as expected inside an md-sidenav-container. However, when it is placed outside the container, it works perfectly. I have created a Plunker demo to illustrate this problem:
Simply copy and paste the md-toolbar into the container to see the difference.
It seems that if any HTML element (including Angular Material components) is within the container, the fixed positioning fails and the element either stays in place or disappears (acting like position: relative). Am I overlooking something or could this be a bug?
Any insights would be greatly appreciated. Thanks!