react-native-ui-stepper icon indicating copy to clipboard operation
react-native-ui-stepper copied to clipboard

When setting borderWidth to 0, the + icon still has a borderLeft

Open efstathiosntonas opened this issue 6 years ago • 2 comments

<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: screen shot 2018-03-08 at 16 15 23

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.

efstathiosntonas avatar Mar 08 '18 14:03 efstathiosntonas

Hey @efstathiosntonas, thanks for raising this issue.

I'll take a look and get a fix shipped as soon as possible.

hannigand avatar Mar 08 '18 14:03 hannigand

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.

hannigand avatar Apr 24 '18 08:04 hannigand