Skip to content

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

Description

@lpetkov-sw

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions