Minor scrollable list fixes (#9551)

* Make sure loading indicator has enough vertical space

* Respect reduce_motion setting for loading indicator
This commit is contained in:
ThibG
2018-12-17 17:02:59 +01:00
committed by Eugen Rochko
parent 3281df0df1
commit 4ede51743e
2 changed files with 13 additions and 4 deletions

View File

@ -103,7 +103,7 @@ class AccountGallery extends ImmutablePureComponent {
);
}
if (hasMore) {
if (hasMore && !(isLoading && medias.size === 0)) {
loadOlder = <LoadMore visible={!isLoading} onClick={this.handleLoadOlder} />;
}