You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on May 4, 2022. It is now read-only.
FABs (ion-fab) with attributes top edge appear under ion-header with devices using Chrome version 71 #919
changed the title [-]FABs top under ion-header by default Chrome 71[/-][+]FABs top edge appear under ion-header by default Chrome 71[/+]on Dec 13, 2018
changed the title [-]FABs top edge appear under ion-header by default Chrome 71[/-][+]FABs top edge appear under ion-header with devices using Chrome version 71[/+]on Dec 13, 2018
changed the title [-]FABs top edge appear under ion-header with devices using Chrome version 71[/-][+]FABs (ion-fab) with attributes top edge appear under ion-header with devices using Chrome version 71[/+]on Dec 13, 2018
While the suggestion by @HenintsoaAdri will work around the problem, I don't think that's the real solution here. The Ionic docs note putting the FABs in the content, and their docs also show this issue.
Here's a link to a similar issue on the Ionic 4 project. That link has some more info about the cause of this behind the scenes.
The suggested fix in the other Ionic 4 issue I linked to above is to add this to the app.scss:
ion-content {
contain: size style;
}
It sounds like this will be the fix they eventually try to put back into Ionic 3 too. It requires a bit of regression testing, but that seemed to work for me.
The suggested fix in the other Ionic 4 issue I linked to above is to add this to the app.scss:
ion-content {
contain: size style;
}
It sounds like this will be the fix they eventually try to put back into Ionic 3 too. It requires a bit of regression testing, but that seemed to work for me.
Activity
[-]FABs top under ion-header by default Chrome 71[/-][+]FABs top edge appear under ion-header by default Chrome 71[/+][-]FABs top edge appear under ion-header by default Chrome 71[/-][+]FABs top edge appear under ion-header with devices using Chrome version 71[/+][-]FABs top edge appear under ion-header with devices using Chrome version 71[/-][+]FABs (ion-fab) with attributes top edge appear under ion-header with devices using Chrome version 71[/+]HenintsoaAdri commentedon Dec 29, 2018
Move ion-fab into ion-header and use bottom edge
brassier commentedon Jan 3, 2019
While the suggestion by @HenintsoaAdri will work around the problem, I don't think that's the real solution here. The Ionic docs note putting the FABs in the content, and their docs also show this issue.
Here's a link to a similar issue on the Ionic 4 project. That link has some more info about the cause of this behind the scenes.
gscardovelli commentedon Jan 9, 2019
This worked for me
neilbo commentedon Jan 15, 2019
If you use a segment component the suggestion by @HenintsoaAdri will not work. See forum link
https://forum.ionicframework.com/t/ionic-fabs-ion-fab-under-header-since-chrome-71/150188
brassier commentedon Jan 15, 2019
The suggested fix in the other Ionic 4 issue I linked to above is to add this to the app.scss:
It sounds like this will be the fix they eventually try to put back into Ionic 3 too. It requires a bit of regression testing, but that seemed to work for me.
fix(content): remove layout contain to fix fab behind toolbar
neilbo commentedon Jan 25, 2019
Can confirm this works on my ionic 3 project. Thanks @brassier @brandyscarney
brandyscarney commentedon Jan 25, 2019
We're working to get the testing and release scripts back up and running on this repository but once we do we'll get this PR in: #942
And release a new Ionic 3. 🙂 In the meantime please use that workaround, thank you!!
fix(content): remove layout contain to fix fab behind toolbar (#942)