From 3d640dc8ac1142c91978fc01e985a3dc5f7c8055 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 18 Sep 2017 14:29:15 -0700 Subject: [PATCH] Add will-change to improve scrolling perf (#5001) --- app/javascript/styles/components.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index d323c2ff041..31341fd0ab7 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;