catalinmiron / catalinmiron/react-native-css-gradient

repeating-linear-gradient with width in percentage fails with error.

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
171
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.