sidenav: position: fixed rendering problems when inside of sidenav-container (relative) on Safari #13567
Labels
area: material/sidenav
blocked
This issue is blocked by some external factor, such as a prerequisite PR
P2
The issue is important to a large percentage of users, with a workaround
safari
Issues specific to the Safari desktop browser
Projects
Bug, feature request, or proposal:
What is the expected behavior?
See the example in the stackblitz which is taken from an app I am working on, there are several nested level of
mat-sidenav-container
andmat-drawer-container
but it is the lower level that has the problem. In the application this component has amat-sidenav
which isfixedInViewport=true
.If you press 'View Sidenav' you will see the
mat-sidenav
open but seems that the top of the sidenav is hidden behind the containers, in fact there is a button in the sidenav' toolbar and if you move your mouse above the end of theView Sidenav
button you will be able to click the button.![image](https://cdn.statically.io/img/user-images.githubusercontent.com/15221549/46795050-109b9480-cd41-11e8-9021-7ee2d96e03c3.png)
Example from Chrome showing the expected behaviourWhat is the current behavior?
The expected behaviour is that the
mat-sidenav
should appear above the other elements, including the backdrop for that sidenavWhat are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Stackblitz below that replicates this issue:
https://stackblitz.com/edit/angular-material2-sidenav-issue
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 6.1.10
Material: 6.4.7
OS: MacOS 10.13.6
Typescript: 2.7.2
Browsers affected: Safari
Is there anything else we should know?
I have tested this in Chrome and it works as expected (except for the overlay), I have not been able to test in Firefox or IE
The text was updated successfully, but these errors were encountered: