forked from cybrespace/mastodon
Add will-change to improve scrolling perf (#5001)
This commit is contained in:
parent
6db034a866
commit
3d640dc8ac
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue