You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: