Consider a simple Ionic page's content:
<ion-content>
<ion-refresher slot="fixed">...</ion-refresher>
<div *ngFor="let item of items">
...
</div>
<ion-infinite-scroll>...</ion-infinite-scroll>
</ion-content>
I made a Stackblitz to demonstrate this page: https://stackblitz.com/edit/ionic-v4-angular-tabs-nbjk4k
Now I would like to add something with fixed position – let's say <div>Some content</div> – on the top or bottom of the page that is NOT within the ion-header or ion-footer section. Is it possible to fix that div to stick to the top or bottom?
The official advice I found on the Ionic docs and Github was to use slot="fixed" on any element that I would like to fix in the content area.
It somehow does not work for me, maybe there is a conflict with the slot="fixed" of the refresher component.
How can I achieve a fixed element?