question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ion-fab-list with texts

See original GitHub issue

Feature Request

Ionic version: [x] 4.x

Describe the Feature Request I’d like to see the ion-fab-list having support for texts or other content besides just ion-fab-button. In my case I would like to show texts.

Describe Preferred Solution As a matter of fact, you can already have text instead of icons pretty easily by using an ion-button inside instead of an ion-fab-button. It’s a simple matter of adding two extra styles as shown below.

Related Code Stackblitz example

This is the relevant CSS:

ion-fab[horizontal="start"] ion-fab-list {
  left: 0;
  align-items: flex-start;
}

ion-fab[horizontal="end"] ion-fab-list {
  right: 0;
  align-items: flex-end;
}

It does need slightly more advanced styling that what I’ve done here. It’d need to adjust for RTL, and you might also want to limit it to ion-fab-list[side="top"] and ion-fab-list[side="bottom"] as they’re the only two cases where this makes sense.

Additional I would be willing to submit a PR for this if approved.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:17
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
djuergescommented, May 22, 2020

needing this in v5+

0reactions
ionitron-bot[bot]commented, Oct 2, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ion-fab-list with texts · Issue #17586 - GitHub
I'd like to see the ion-fab-list having support for texts or other content besides just ion-fab-button . In my case I would like...
Read more >
ion-fab-list | Ionic Documentation
The fab list component is a container for multiple fab buttons. It contains actions related to the main fab button and is flung...
Read more >
whats the correct way of inserting label in an Ionic FAB list
i want to insert a label so that matches every FAB icon on the Fab list whats the correct way of doing ...
Read more >
Ion-fab - CodePen
<ion-fab-list>. 9. <ion-fab-button id ='one'color="light">. 10. <ion-icon name="logo-facebook"></ion-icon>. 11. </ion-fab-button>.
Read more >
Ionic FAB Button - javatpoint
It also includes a fab-lists, which contains related buttons that show when the main fab-button is pressed/clicked. It also allows to contain several...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found