client/tag-input: scroll suggestions up on refresh
This commit is contained in:
parent
263d4f3626
commit
c64453a15c
@ -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…
x
Reference in New Issue
Block a user