From 0c3c4a762d797b72c90e1423e894415b4e4e7a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 11 Oct 2020 16:27:39 +0200 Subject: [PATCH] Append form container after parsing child issue9662 review306531003 --- src/view/form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/view/form.js b/src/view/form.js index b2418241d8..afda9485aa 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -31,11 +31,12 @@ function eval_pyson(value){ var container = new Sao.View.Form.Container( Number(node.getAttribute('col') || 4)); this.view.containers.push(container); - this.view.el.append(container.el); this.parse_child(node, container); if (this._containers.length > 0) { throw 'AssertionError'; } + // Append after parsing child to minimize browser reflow + this.view.el.append(container.el); }, parse_child: function(node, container) { if (container) {