repeating-linear-gradient with width in percentage fails with error.
Hello,
I'm using react-native-css-gradient library for making progressbar background. When I set width to the repeating-linear-gradient Gradient component in percentage (ex: width: '70%') an error is raised: RangeError: Array size is not a small enough positive integer.
The problem is appearing only if the width is in percentage. Width with fixed number is working properly.
react-native: v0.60
Hi @lpetkov-sw,
Thanks for raising this issue. Unfortunately you need to provide a fixed number, not percentage. For now this is a bug which I might possible fix it in the future. Please let me know if you need anything else. Thanks!
Thanks for the quick response @catalinmiron , I'll use it with fixed number then, but maybe it will be good if you add that in the documentation. Regards, Lyubo.