File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 33
33
cursor : -webkit-grabbing ;
34
34
cursor : grabbing ;
35
35
}
36
+
37
+ @mixin backface-visibility ($value ) {
38
+ -webkit-backface-visibility : $value ;
39
+ backface-visibility : $value ;
40
+ }
36
41
/* stylelint-enable */
Original file line number Diff line number Diff line change 1
1
@import ' ../core/style/elevation' ;
2
2
@import ' ../core/a11y/a11y' ;
3
+ @import ' ../core/a11y/vendor-prefixes' ;
3
4
4
5
5
6
$mat-dialog-padding : 24px !default ;
@@ -35,6 +36,9 @@ $mat-dialog-button-margin: 8px !default;
35
36
max-height : $mat-dialog-max-height ;
36
37
overflow : auto ;
37
38
-webkit-overflow-scrolling : touch ;
39
+
40
+ // Promote the content to a new GPU layer to avoid repaints on scroll.
41
+ @include backface-visibility ($hidden );
38
42
}
39
43
40
44
.mat-dialog-title {
You can’t perform that action at this time.
0 commit comments