mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
perf(tabs): avoid repainting while scrolling (#7889)
Along the same lines as #7721, #7719 and #6890 the tab body currently repaints on scroll.
This commit is contained in:
committed by
Andrew Seguin
parent
9a05ecdb63
commit
943395ee5c
@@ -1,4 +1,8 @@
|
||||
@import '../core/style/vendor-prefixes';
|
||||
|
||||
.mat-tab-body-content {
|
||||
// Avoids repainting while scrolling.
|
||||
@include backface-visibility(hidden);
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user