callstack / callstack/react-native-paper

FAB size prop doesnt work if label is provided

Abierto
#4,793 1 comentario 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.