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 5ac7e11 commit 13410bdCopy full SHA for 13410bd
src/lib/core/style/_menu-common.scss
@@ -1,6 +1,7 @@
1
@import './variables';
2
@import './elevation';
3
@import './list-common';
4
+@import './vendor-prefixes';
5
6
/** The mixins below are shared between mat-menu and mat-select */
7
@@ -15,6 +16,10 @@ $mat-menu-icon-margin: 16px !default;
15
16
17
@mixin mat-menu-base($default-elevation) {
18
@include mat-overridable-elevation($default-elevation);
19
+
20
+ // Prevents the content from repainting on scroll.
21
+ @include backface-visibility(hidden);
22
23
min-width: $mat-menu-overlay-min-width;
24
max-width: $mat-menu-overlay-max-width;
25
overflow: auto;
0 commit comments