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 3333 cursor : -webkit-grabbing ;
3434 cursor : grabbing ;
3535}
36+
37+ @mixin backface-visibility ($value ) {
38+ -webkit-backface-visibility : $value ;
39+ backface-visibility : $value ;
40+ }
3641/* stylelint-enable */
Original file line number Diff line number Diff line change 11@import ' ../core/style/elevation' ;
22@import ' ../core/a11y/a11y' ;
3+ @import ' ../core/a11y/vendor-prefixes' ;
34
45
56$mat-dialog-padding : 24px !default ;
@@ -35,6 +36,9 @@ $mat-dialog-button-margin: 8px !default;
3536 max-height : $mat-dialog-max-height ;
3637 overflow : auto ;
3738 -webkit-overflow-scrolling : touch ;
39+
40+ // Promote the content to a new GPU layer to avoid repaints on scroll.
41+ @include backface-visibility ($hidden );
3842}
3943
4044.mat-dialog-title {
You can’t perform that action at this time.
0 commit comments