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:
Kristiyan Kostadinov
2017-11-02 04:37:30 +01:00
committed by Andrew Seguin
parent 9a05ecdb63
commit 943395ee5c
+4
View File
@@ -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;