commit: 3d640dc8ac1142c91978fc01e985a3dc5f7c8055
parent: 6db034a866b78e4e98b122461ca84763f0104381
Author: Nolan Lawson <nolan@nolanlawson.com>
Date: Mon, 18 Sep 2017 14:29:15 -0700
Add will-change to improve scrolling perf (#5001)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
@@ -1587,6 +1587,7 @@
overflow-x: hidden;
flex: 1 1 auto;
-webkit-overflow-scrolling: touch;
+ will-change: transform; // improves perf in mobile Chrome
&.optionally-scrollable {
overflow-y: auto;