diff --git a/packages/fiori/src/DynamicPage.ts b/packages/fiori/src/DynamicPage.ts index fbd6932ba11b..a9bd4eac6e13 100644 --- a/packages/fiori/src/DynamicPage.ts +++ b/packages/fiori/src/DynamicPage.ts @@ -372,6 +372,9 @@ class DynamicPage extends UI5Element { async onPinClick() { this.headerPinned = !this.headerPinned; + if (this.headerPinned) { + this.showHeaderInStickArea = true; + } this.fireDecoratorEvent("pin-button-toggle"); await renderFinished(); this.headerActions?.focusPinButton();