I have a Popover with a title and a close-button, which should stay fixed on top of the popover. To accomplish this I placed the ion-toolbar within an ion-header tag, which should make it stay fixed in its location (as stated by the docs about Toolbars). But when the content needs scrolling, the toolbar behaves like content and scrolls out of view.
The template of my popover:
<ion-header >
<ion-toolbar position="top">
<ion-button (click)="close()" slot="start" icon-only fill="clear">
<ion-icon name="arrow-round-back"></ion-icon>
</ion-button>
<ion-title>{{TACName}}</ion-title>
</ion-toolbar>
</ion-header>
<ion-content >
<ion-card *ngIf="cardTitle" >
<ion-card-title class="card-title">{{cardTitle}}</ion-card-title>
</ion-card>
<ion-card *ngIf="cardDesc" >
<ion-card-title class="card-desc">{{cardDesc}}</ion-card-title>
</ion-card>
</ion-content>
Any ideas how to make the toolbar stay fixed on top of the popover? thanks!


<ion-content>.... </ion-content>- Alam