callstack / callstack/react-native-paper

FAB size prop doesnt work if label is provided

Ouverte
#4,793 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
14.5k
Forks
2.2k
Merge moyen
5 j 23 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.