callstack / callstack/react-native-paper

Surface - borderBottomWidth positioning issue on iOS

未关闭
#4,372 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug Surface
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。