Skip to content

Commit b07bcad

Browse files
committed
fix(topbar): anchor account and notification overlays correctly when page is scrolled
1 parent 1eb272f commit b07bcad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/core/layout/component/app-topbar/app-topbar.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
</ng-template>
5555
</div>
5656
</div>
57-
<p-menu #accountMenu [popup]="true" [model]="accountMenuItems"></p-menu>
58-
<p-overlayPanel #notificationsPanel styleClass="topbar-notifications-panel" [showCloseIcon]="true" (onShow)="markNotificationsAsRead()">
57+
<p-menu #accountMenu [popup]="true" [model]="accountMenuItems" [appendTo]="'body'"></p-menu>
58+
<p-overlayPanel #notificationsPanel styleClass="topbar-notifications-panel" [showCloseIcon]="true" [appendTo]="'body'" (onShow)="markNotificationsAsRead()">
5959
<div class="topbar-notifications">
6060
<div class="topbar-notifications__header">
6161
<strong>Notifications</strong>

0 commit comments

Comments
 (0)