From c87d0826ca0cbaaf78d40a5a2f0e71962426e448 Mon Sep 17 00:00:00 2001 From: tobiu Date: Tue, 14 Jan 2025 12:41:16 +0100 Subject: [PATCH] grid.header.Toolbar: createItems() => for the mounted state (run-time change) we need to trigger passSizeToView() #6222 --- src/grid/header/Toolbar.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/grid/header/Toolbar.mjs b/src/grid/header/Toolbar.mjs index 8055cdd70..c68b8413b 100644 --- a/src/grid/header/Toolbar.mjs +++ b/src/grid/header/Toolbar.mjs @@ -129,7 +129,9 @@ class Toolbar extends BaseToolbar { item.wrapperStyle = style }); - me.update() + me.promiseUpdate().then(() => { + me.mounted && me.passSizeToView() + }) } /**