Skip to content

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

@efstathiosntonas

Description

@efstathiosntonas
<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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions