diff options
Diffstat (limited to 'ui/form')
-rw-r--r-- | ui/form/ListScrollForm.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/form/ListScrollForm.js b/ui/form/ListScrollForm.js index 7d2b083..daa640a 100644 --- a/ui/form/ListScrollForm.js +++ b/ui/form/ListScrollForm.js @@ -106,6 +106,12 @@ module.exports = class ListScrollForm extends Form { this.fixLayout() } + firstInput() { + this.scrollItems = 0 + + super.firstInput() + } + getItemPos(item) { // Gets the position of the item in an unscrolled view. |