From d7f027ac08503c3b5c42cb35912f3df6f65e0ad1 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 5 Jul 2021 09:55:08 -0700 Subject: [PATCH] perf: avoid style recalc for spinner in Chrome --- src/routes/_components/LoadingSpinner.html | 5 +++-- src/routes/_components/timeline/LoadingFooter.html | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/routes/_components/LoadingSpinner.html b/src/routes/_components/LoadingSpinner.html index f9202038..903cd6f0 100644 --- a/src/routes/_components/LoadingSpinner.html +++ b/src/routes/_components/LoadingSpinner.html @@ -1,4 +1,4 @@ - ({ maskStyle: false, - size: 64 + size: 64, + animate: true }), components: { SvgIcon diff --git a/src/routes/_components/timeline/LoadingFooter.html b/src/routes/_components/timeline/LoadingFooter.html index 361cefed..973c9d88 100644 --- a/src/routes/_components/timeline/LoadingFooter.html +++ b/src/routes/_components/timeline/LoadingFooter.html @@ -3,7 +3,10 @@ aria-hidden={!showLoading} role="alert" > - + + {intl.loadingMore}