react-native-progress icon indicating copy to clipboard operation
react-native-progress copied to clipboard

Error after updating to RN 0.59.0

Open jtpk2168 opened this issue 5 years ago • 3 comments

image This happens after updating to RN 0.59.0. I'm using the latest version of react-native-progress which is 3.6.0. Code below is how I use the library: <ProgressBar progress={barProgress} animated={false} width={null} height={30} borderRadius={4} borderWidth={2} borderColor="rgba(17, 198, 174, 0.3)" color="rgba(17, 198, 174, 1)" style={[ styles.progressBar, { paddingHorizontal: progressBarPadding }, ]} />

jtpk2168 avatar Apr 20 '19 18:04 jtpk2168

same issue with last version of React-Native 0.59.5

ntorion avatar Apr 24 '19 20:04 ntorion

Same when using Progress.Bar, also similar error when using ProgressCircle

kemicofa avatar May 30 '19 15:05 kemicofa

After just experiencing a similar issue I would ask that you verify that what you pass into the progress prop is a number between 1 or 0 (otherwise default it to 0 or something).

In addition, the import I've been using has been import ProgressBar from 'react-native-progress/Bar';

@JayLavaX Looking at your example however it would appear that the progressBarPadding is coming in as NaN in the logs so you may also want to verify that is also coming through properly.

vincentvella avatar May 31 '19 21:05 vincentvella