From 6c31ded9f71fc4309a69a097373a554801a2d652 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 d323c2ff04..31341fd0ab 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;