callstack / callstack/react-native-paper

Button showing weird behaviour

Đang mở
#4,432 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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
I am using react-native-paper Button in gorhom/bottom-sheet
Sometimes the text inside the button disappears, sometime it shows partially

### Expected behaviour
Text should be shown always

### Preview
![Screenshot 2024-06-11 at 4 11 36 PM](https://github.com/callstack/react-native-paper/assets/24918249/24a2d7a9-311b-418f-aef1-ff0755256e99)
![Screenshot 2024-06-11 at 4 11 23 PM](https://github.com/callstack/react-native-paper/assets/24918249/cf0f6f9a-a032-4a90-916b-e7dfe5a8a8a2)
![Screenshot 2024-06-11 at 4 11 08 PM](https://github.com/callstack/react-native-paper/assets/24918249/68a6ab5c-380b-402a-a812-306611a375d9)

### What have you tried so far?
I tried fixing up with line height and margin vertical.

### Your Environment

| software | version
| --------------------- | -------
| react-native | 0.73.1
| react-native-paper | 5.11.4
| node | 21.7.3
| @gorhom/bottom-sheet | 4.6.1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reproducing the Button rendering issue inside @gorhom/bottom-sheet with the listed React Native, react-native-paper, Node, and bottom-sheet versions. Compare cases where the text disappears or is partial, and consider the issue complete when the Button text remains fully visible consistently.

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
Lĩnh vực
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
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.