From: Nolan Lawson Date: Mon, 18 Sep 2017 21:29:15 +0000 (-0700) Subject: Add will-change to improve scrolling perf (#5001) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=3d640dc8ac1142c91978fc01e985a3dc5f7c8055;p=mastodon.git Add will-change to improve scrolling perf (#5001) --- 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;