1
0
Fork 1
forked from fedi/mastodon

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

This commit is contained in:
Nolan Lawson 2017-09-18 14:29:15 -07:00 committed by Eugen Rochko
parent 6db034a866
commit 3d640dc8ac

View file

@ -1587,6 +1587,7 @@
overflow-x: hidden; overflow-x: hidden;
flex: 1 1 auto; flex: 1 1 auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
will-change: transform; // improves perf in mobile Chrome
&.optionally-scrollable { &.optionally-scrollable {
overflow-y: auto; overflow-y: auto;