From 2499c56b1214707974cd244e6fb7b4c974c6d32b Mon Sep 17 00:00:00 2001 From: Filip Siderov Date: Mon, 3 Aug 2020 10:51:54 +0300 Subject: [PATCH] fix(ui5-shellbar-item): Update count properly (#2049) Fixes #2048 --- packages/fiori/src/ShellBar.js | 1 + packages/fiori/test/pages/ShellBar.html | 4 ++++ packages/fiori/test/specs/ShellBar.spec.js | 10 ++++++++++ 3 files changed, 15 insertions(+) diff --git a/packages/fiori/src/ShellBar.js b/packages/fiori/src/ShellBar.js index 387b191ffdd7..b70e5c7e7f26 100644 --- a/packages/fiori/src/ShellBar.js +++ b/packages/fiori/src/ShellBar.js @@ -180,6 +180,7 @@ const metadata = { "default": { propertyName: "items", type: HTMLElement, + invalidateParent: true, }, /** diff --git a/packages/fiori/test/pages/ShellBar.html b/packages/fiori/test/pages/ShellBar.html index 27af99a4fe8f..d6d2aa427637 100644 --- a/packages/fiori/test/pages/ShellBar.html +++ b/packages/fiori/test/pages/ShellBar.html @@ -221,6 +221,10 @@

ShellBar in Compact

App 4 + + + +