diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-09-18 14:29:15 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-18 23:29:15 +0200 |
commit | 3d640dc8ac1142c91978fc01e985a3dc5f7c8055 (patch) | |
tree | aa7e946c4000e5a0e3b17e14c00d5843a70c40e4 | |
parent | 6db034a866b78e4e98b122461ca84763f0104381 (diff) |
Add will-change to improve scrolling perf (#5001)
-rw-r--r-- | app/javascript/styles/components.scss | 1 |
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; |