We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4f435 commit 131e98fCopy full SHA for 131e98f
src/lib/sidenav/drawer.scss
@@ -1,6 +1,7 @@
1
@import '../core/style/variables';
2
@import '../core/style/elevation';
3
@import '../core/style/layout-common';
4
+@import '../core/style/vendor-prefixes';
5
@import '../../cdk/a11y/a11y';
6
7
$mat-drawer-content-z-index: 1;
@@ -79,6 +80,9 @@ $mat-drawer-over-drawer-z-index: 4;
79
80
}
81
82
.mat-drawer-content {
83
+ // `backface-visibility` prevents the element from repainting on scroll. This is the
84
+ // equivalent of using `translateZ(0)`, but it doesn't create a new stacking context.
85
+ @include backface-visibility(hidden);
86
@include mat-drawer-stacking-context($mat-drawer-content-z-index);
87
88
display: block;
0 commit comments