Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row throws an error when string from right side is too big #46

Open
vitorsilvalima opened this issue Aug 9, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@vitorsilvalima
Copy link

The row component throws an error if the string length from right side is too big

example:

<Row
        left={<Text>CEP:</Text>}
        right={
          <Text>Antiga 18 portão de garagem vermelho casa de esquina</Text>
        }
/>

Error thrown:
Possible Unhandled Promise Rejection (id: 2):

RangeError: String.prototype.repeat count must be finite and non-negative
RangeError: String.prototype.repeat count must be finite and non-negative

@Hassan-jr
Copy link

Share the whole code.
I faced similar issues and solved it, but I can't see the mistakes I did in your code.

@seokju-na seokju-na added the bug Something isn't working label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants