react-native-progress
react-native-progress copied to clipboard
Circular progress bar does not spin when using indeterminate prop
Circular progress bar does not spin when using indeterminate prop on Android. The progress bar is in a fixed position at about what would be 90% complete.
react-native v0.62.2 react-native-progress v4.1.2 @react-native-community/art v1.2.0
Use:
import * as Progress from 'react-native-progress';
<>
<View style={{
flex: 1,
justifyContent: 'center',
alignSelf: 'center',
backgroundColor: props.backgroundColor || '#11131A',
width: '100%',
}}
>
<Text
style={styles.text}
>
{props.title}
</Text>
<View
style={{ alignSelf: 'center' }}
>
<Progress.Circle
indeterminate
color={props.progressColor || '#C9FB5C'}
/>
</View>
</View>
</>