callstack / callstack/react-native-paper
FAB size prop doesnt work if label is provided
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu từ component FAB và tái hiện vấn đề trên iOS với các prop icon, size và label trong môi trường React Native Paper 5.12.5 được báo cáo. So sánh các kích thước small, medium và large khi có và không có label; hoàn tất khi prop size thay đổi FAB có label một cách nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- frontend, mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100