From b374e3ce617f4f1392f470afbb0f4982b3e8d53f Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 1 Jun 2018 08:36:27 -0300 Subject: Make sure group is visible when it's auto-selected --- tui-lib | 2 +- ui.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tui-lib b/tui-lib index b7e7223..23dc4b2 160000 --- a/tui-lib +++ b/tui-lib @@ -1 +1 @@ -Subproject commit b7e7223670328b4cba1c1454dd25057d24025b2b +Subproject commit 23dc4b24d92eb2e19c55029522acabfccb701915 diff --git a/ui.js b/ui.js index 3d65d27..740b7f9 100644 --- a/ui.js +++ b/ui.js @@ -260,6 +260,7 @@ class GrouplikeListingElement extends ListScrollForm { this.loadGrouplike(parent) this.curIndex = this.inputs.findIndex(inp => inp.item === oldGrouplike) || this.firstItemIndex this.updateSelectedElement() + this.scrollSelectedElementIntoView() }) this.addInput(upButton) } -- cgit 1.3.0-6-gf8a5