obipawan / react-native-dash

A super simple <Dash /> component for react-native to draw customisable dashed lines
176 stars 63 forks source link

Dash component takes some time to rendering #1

Closed pandiarajan-i2i closed 7 years ago

pandiarajan-i2i commented 7 years ago

Hi,

I have used this library for drawing the dashed lines. It works perfectly but it takes time to rendering.

My code:

<View style={{flex:1}}>
            <Dash style={{flex:1,height:1,flexDirection:'row', marginLeft:2, marginRight:16}}  dashColor={'#868686'} dashThickness={2} dashGap={1} dashLength={2}/>
</View>
obipawan commented 7 years ago

I believe this should be fixed thanks to https://github.com/obipawan/react-native-dash/pull/4