Browse Source

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

pull/4/head
Nolan Lawson 6 years ago
committed by Eugen Rochko
parent
commit
3d640dc8ac
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/javascript/styles/components.scss

+ 1
- 0
app/javascript/styles/components.scss View File

@ -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