Skip to content

Conversation

Wiktoria-Fogel
Copy link

@Wiktoria-Fogel Wiktoria-Fogel commented Sep 10, 2025

FAB size prop doesn't work if label is provided.

Resolves issue #4793

If I add FAB only with the icon and size props, the button displays correctly and works with small, medium, and large sizes. After adding the label prop, the size prop does not work, and the height of the button is always the same.
Screenshot 2025-09-10 at 23 10 10

I included size prop for FAB styles with labels. I set exactly the same heights as for FAB without labels.
Screenshot 2025-09-10 at 23 10 20

@callstack-bot
Copy link

Hey @Wiktoria-Fogel, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants