Skip to content

sidenav: position: fixed rendering problems when inside of sidenav-container (relative) on Safari #13567

Open
@StickNitro

Description

@StickNitro

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 and mat-drawer-container but it is the lower level that has the problem. In the application this component has a mat-sidenav which is fixedInViewport=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 the View Sidenav button you will be able to click the button.

image

Example from Chrome showing the expected behaviour

What is the current behavior?

The expected behaviour is that the mat-sidenav should appear above the other elements, including the backdrop for that sidenav

What 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2The issue is important to a large percentage of users, with a workaroundarea: material/sidenavblockedThis issue is blocked by some external factor, such as a prerequisite PRsafariIssues specific to the Safari desktop browser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions