react-native-ui-stepper
react-native-ui-stepper copied to clipboard
When setting borderWidth to 0, the + icon still has a borderLeft
<Item>
<Text style={{ marginTop: 10, marginBottom: 10 , fontSize: 12}}>
Choose Distance
</Text>
<UIStepper
borderWidth={0}
tintColor={'#4C9DD0'}
textColor={'#4C9DD0'}
displayValue
initialValue={this.state.range}
maximumValue={1000}
value={this.state.value}
onIncrement={this.increment}
onDecrement={this.decrement}
/>
</Item>
results to:
This line (319) causes the border to appear in UIStepper.js
borderLeftWidth: vertical ? 0 : displayValue ? 1 : 0
if i set displayValue ? 0 : 0
then border disappears as expected.
Hey @efstathiosntonas, thanks for raising this issue.
I'll take a look and get a fix shipped as soon as possible.
Just to keep you in the loop @efstathiosntonas, I'll release a fix for this later on this evening (BST).
Sorry for the delay in shipping a fix.