FAB list feature: labels and backdrop options
Feature request
It would be cool if the FAB list could support labels and an optional backdrop as mentioned here: https://github.com/driftyco/ionic/issues/5069#issuecomment-172681668
Example

@speedfl sorry. When fab list is showing is it showing backdrop? I don't see code anywhere for backdrop. Sorry if I'm missing something...
My label container has background-color: rgba(255, 255, 255, 0.5); So it is the backdrop. You have to implement exactly what i put (the ts file, the scss and the html)
Hello all! While this is an awesome feature request it is not something that we plan on doing anytime soon. Because of this I am going to move this to our internal feature tracking repo for now as it is just "collecting dust" here. Once we decide to implement this I will move it back. Thanks everyone for using Ionic!
This issue was moved to driftyco/ionic-feature-requests#70
@speedfl I just upgraded my own implementation to yours and I really like it! Thanks for making the upgrades.
@thielCole you are welcome :)
+1
If needed: @thielCole and other https://github.com/speedfl/ionic-fab-label-backdrop
I made some updates. Extract in a component with event + same effect as ionic fab
@jgw96 Hey Justin, why this issue is close without driftyco/ionic-feature-requests#70 accessible?
This is an important feature that significant improve the usability of the Fab button, just want to make sure it's not getting lost somewhere.
Thanks @Bouzmine. Awesome!!!
My 2 cents:
Adding a local variable to the ion-fab-list
<ion-fab right bottom #fab1>
<button ion-fab><ion-icon name="add"></ion-icon></button>
<ion-fab-list side="top" #fabList>
<div *ngIf="fabList.classList.contains('fab-list-active')" class="backdrop" (click)="fab1.close();">
</div>
The CSS:
.backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7);
}
Had to add z-index to button to be able to close it:
button.fab.fab-md.fab-close-active {
z-index: 1;
}
@speedfl I'm sorry, I'm pretty unclear on how to use your code. All of the bracketed and parenthetical identifiers have me pretty confused. Can you give an example of it being used in practice? I get errors that say "an-input" isn't a property of my-menu, etc. Also, Ionic complains that anInput in mymenu.ts should be this.anInput.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.