about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-09-18 14:29:15 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-09-18 23:29:15 +0200
commit3d640dc8ac1142c91978fc01e985a3dc5f7c8055 (patch)
treeaa7e946c4000e5a0e3b17e14c00d5843a70c40e4 /app/javascript
parent6db034a866b78e4e98b122461ca84763f0104381 (diff)
Add will-change to improve scrolling perf (#5001)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/components.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index d323c2ff0..31341fd0a 100644
--- 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;