mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/tag-input: scroll suggestions up on refresh
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user