Skip to content

Commit 3c115e1

Browse files
committed
stop using transform on container and content
1 parent ba75450 commit 3c115e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/sidenav/drawer.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
@mixin mat-drawer-stacking-context() {
1111
position: relative;
1212

13-
// Use a transform to create a new stacking context.
14-
transform: translate3d(0, 0, 0);
13+
// Use a z-index to create a new stacking context. (We can't use transform because it breaks fixed
14+
// positioning inside of the transformed element).
15+
z-index: 1;
1516
}
1617

1718
.mat-drawer-container {

0 commit comments

Comments
 (0)