I’d like to have a FAB Button overlayed on a buttom tabbar, but can’t get it work. As you can see from the screenshot, it is cutted from the tabbar, changing z-index wont work either.
Furthermore, its no option to add the FAB Button to the tabbar template, it has to be within the view templates (not each of them)
<ion-header>
<ion-navbar>
<ion-title>Home</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<h2>Welcome to Ionic!</h2>
<p>
This starter project comes with simple tabs-based layout for apps
that are going to primarily use a Tabbed UI.
</p>
<p>
Take a look at the <code>src/pages/</code> directory to add or change tabs,
update any existing page or create new pages.
</p>
<ion-fab bottom right edge>
<button ion-fab mini><ion-icon name="add"></ion-icon></button>
<ion-fab-list>
<button ion-fab><ion-icon name="logo-facebook"></ion-icon></button>
<button ion-fab><ion-icon name="logo-twitter"></ion-icon></button>
<button ion-fab><ion-icon name="logo-vimeo"></ion-icon></button>
<button ion-fab><ion-icon name="logo-googleplus"></ion-icon></button>
</ion-fab-list>
</ion-fab>
</ion-content>
That’s the code from the home-view, everything else is just the starter project from ‘ionic start MyIonic2Project --v2’
Does anybody know how to solve the desired behaviour? Thanks in advance!
Hi, thanks for your answer, but I cant see why your solution should solve the entire issue? The FAB still stays layered under the tabbar if you flag it with the “edge” attribute (first screenshot). In my case it is required to positon it on top of the tabbar (eg. second screenshot). But this seems to be impossible atm.
Danilo, please read my entire post, look at the second screenshot “Fixed Buttons” (see the red FAB-button). It is required to position the button ON TOP of the tabbar, not with any bottom distance.
Did you ever get a fix for this. My FABs worked fine till I upgraded ionic and now they appear under the toolbar. I have tried changing position, z-index …etx but nothing works, see image below:
I don’t know what ionic cli I was on either to roll back but would prefer to fix forward.