callstack / callstack/react-native-paper

Surface - borderBottomWidth positioning issue on iOS

Đang mở
#4,372 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Surface
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
The borderBottomWidth property on the Surface component is not positioning the border at the bottom of the surface on iOS devices. Instead, the border appears in the middle of the surface.

### Expected behaviour
The borderBottomWidth property should render a border with a width of 1dp at the bottom of the Surface component, just like it does on Android.

### Preview
This is how it looks in ios :
![ios](https://github.com/callstack/react-native-paper/assets/147313410/873ffefe-5a68-4580-a0b1-77a5502626d9)

This is how it looks in android :
![android](https://github.com/callstack/react-native-paper/assets/147313410/886d2638-4f53-48f8-8e1c-9cbfdafa17a6)

### Your Environment

| software | version
| --------------------- | -------
| ios | 17.2.1
| android | 14
| react-native | 0.73.4
| react-native-paper | 5.12.3
| node | 18.17.1
| npm | 9.6.7
| expo sdk | x.x.x

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

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

Hướng nghiên cứu

Start at the Surface component and reproduce the borderBottomWidth behavior on iOS using the reported React Native and react-native-paper versions, comparing it with Android. Trace how the Surface renders its bottom border; done means a 1dp border appears at the bottom on iOS as it does on Android.

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
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
38/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.