Hi everyone,
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 dark>
<ion-title>{{name}}</ion-title>
<ion-buttons right>
<button (click)="closeInfo()">
<ion-icon name="close"></ion-icon>
</button>
</ion-buttons>
</ion-toolbar>
</ion-header>
<ion-content class="colorsysteminfo-page" padding>
<img *ngIf="imagePath!=''" [src]="imagePath">
<p [innerHtml]="description"></p>
</ion-content>
Any ideas how to make the toolbar stay fixed on top of the popover?
Many thanks!