Closed Hades32 closed 6 years ago
+1 Experiencing it right now
Confirm that this is still an issue. It's really really annoying. Even if I manage to put it outside the sidenav-layout (which is not so easy to achieve since I have to pass icon, click handler/router link etc.), the fab isn't affected by the black transparent overlay on sidenav.open() anymore which is a big visual break.
See also 👉🏾 https://github.com/angular/material2/issues/998
Adding z-index 1000 to the parent which has position fixed would fix the issue.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
package version: Alpha5.2
md-sidenav-layout seems to work with with css transforms what in turn breaks position:fixed as this establishes a new viewport.
This makes it impossible to place floating elements inside content in this layout.
I use the content as my router-outlet (what probably many will do). In my content I want to use a floating md-fab button which I now have to place in the main application component. this sucks.