Поправки багов скроллинга

This commit is contained in:
Book Pauk
2022-10-31 15:33:58 +07:00
parent 4ea9b388f0
commit 820769071d
3 changed files with 12 additions and 5 deletions

View File

@@ -185,6 +185,8 @@ class AuthorList extends BaseList {
}
async expandAuthor(item) {
this.$emit('listEvent', {action: 'ignoreScroll'});
const expanded = _.cloneDeep(this.expandedAuthor);
const key = item.author;
@@ -197,7 +199,6 @@ class AuthorList extends BaseList {
expanded.shift();
}
//this.$emit('listEvent', {action: 'ignoreScroll'});
this.setSetting('expandedAuthor', expanded);
} else {
const i = expanded.indexOf(key);