callstack / callstack/react-native-paper
FAB size prop doesnt work if label is provided
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.