From 943395ee5c90e15f68f6ad56bf2209edad4e73e0 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 2 Nov 2017 04:37:30 +0100 Subject: [PATCH] perf(tabs): avoid repainting while scrolling (#7889) Along the same lines as #7721, #7719 and #6890 the tab body currently repaints on scroll. --- src/lib/tabs/tab-body.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/tabs/tab-body.scss b/src/lib/tabs/tab-body.scss index a92aaf492e20..1b32d6be6154 100644 --- a/src/lib/tabs/tab-body.scss +++ b/src/lib/tabs/tab-body.scss @@ -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;