So…since Chrome(71+) I suspect Google have replaced certain elements from display:block to display:contents , which Ionic (3) Framework relies on for fabs (other elements).
So the technical “correct” fix is .
ion-content {
display: contents;
}
…but this breaks other elements such as Modals etc.
You may be better off
- Moving the FAB (ion-fab element) into the ion-header
- Wrapping the fab button in a div and adding position relative to that div
This accounts for devices with notches as well
app.scss
ion-header div.fab--container {
position: relative;
}
page html
<ion-header>
<ion-navbar color="primary">
<ion-title>{{ title }}</ion-title>
</ion-navbar>
<div class="fab--container">
<ion-fab
top
right
edge
>
<button ion-fab mini color="primary" (tap)="addSomething()">
<ion-icon name="add"></ion-icon>
</button>
</ion-fab>
</div>
</ion-header>
further reading: