From c64453a15ce58afc469636452735845f820c8649 Mon Sep 17 00:00:00 2001 From: rr- Date: Wed, 24 Aug 2016 10:58:58 +0200 Subject: [PATCH] client/tag-input: scroll suggestions up on refresh --- client/js/controls/tag_input_control.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/js/controls/tag_input_control.js b/client/js/controls/tag_input_control.js index c917b636..5a194120 100644 --- a/client/js/controls/tag_input_control.js +++ b/client/js/controls/tag_input_control.js @@ -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); }