« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index a3860e9..f654ef8 100644
--- a/ui.js
+++ b/ui.js
@@ -1185,6 +1185,7 @@ class GrouplikeListingElement extends Form {
     if (this.jumpElement.visible) this.form.h -= 1
 
     this.form.fixLayout() // Respond to being resized
+    this.form.scrollSelectedElementIntoView()
 
     this.pathElement.y = this.contentH - 1
     this.pathElement.w = this.contentW