callstack / callstack/react-native-paper
Surface - borderBottomWidth positioning issue on iOS
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### 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 :

This is how it looks in android :

### 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
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100