client/tag-input: scroll suggestions up on refresh
This commit is contained in:
parent
263d4f3626
commit
c64453a15c
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ class TagInputControl extends events.EventTarget {
|
|||
return;
|
||||
}
|
||||
const listNode = this._suggestionsNode.querySelector('ul');
|
||||
listNode.scrollTop = 0;
|
||||
while (listNode.firstChild) {
|
||||
listNode.removeChild(listNode.firstChild);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue