Skip to content

FAB size prop doesnt work if label is provided #4793

@abhishrek

Description

@abhishrek

Current behaviour

FAB size prop doesnt work if label is provided

Expected behaviour

FAB size should change depending on the size prop even if label is provided

How to reproduce?

Add a FAB with only icon and size props. It works with small, medium, large sizes fine.
Now add label prop. The FAB is fixed to medium size only, changing size prop has no effect.

Preview

What have you tried so far?

Your Environment

software version
ios 17.4
android x
react-native 0.79.3
react-native-paper 5.12.5
node x.x.x
npm or yarn x.x.x
expo sdk 3.0.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions