Add will-change to improve scrolling perf (#5001)

master
Nolan Lawson 7 years ago committed by Eugen Rochko
parent 6db034a866
commit 3d640dc8ac
  1. 1
      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;

Loading…
Cancel
Save