From de1c92141d2d4859cf869ec90e50e8eb0e5e8568 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 5 Jul 2018 09:26:49 -0300 Subject: ListScrollForm - fixLayout before checking dimensions --- ui/form/ListScrollForm.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/form/ListScrollForm.js') diff --git a/ui/form/ListScrollForm.js b/ui/form/ListScrollForm.js index e888fd1..714fc6f 100644 --- a/ui/form/ListScrollForm.js +++ b/ui/form/ListScrollForm.js @@ -40,6 +40,8 @@ module.exports = class ListScrollForm extends Form { let nextPos = 0 for (const item of itemsPastScroll) { + item.fixLayout() + item[this.posProp] = nextPos nextPos += item[this.sizeProp] -- cgit 1.3.0-6-gf8a5