react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

FAB size prop doesnt work if label is provided

Open abhishrek opened this issue 4 months ago • 1 comments

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

abhishrek avatar Aug 21 '25 06:08 abhishrek

Checked !! size="small" is not working

harshitparkar-ardent avatar Sep 09 '25 09:09 harshitparkar-ardent