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

Is there anyway to make it work with TextInput? #30

Open
SrBrahma opened this issue Sep 6, 2020 · 1 comment
Open

Is there anyway to make it work with TextInput? #30

SrBrahma opened this issue Sep 6, 2020 · 1 comment

Comments

@SrBrahma
Copy link

SrBrahma commented Sep 6, 2020

Seems like the TextInput width is greater than the same text in Text. If I apply the calculated width to the Text, it displays it without a problem, but if I set the width to TextInput, it will get clipped.

Is there a good way to calculate TextInput width?

@SrBrahma
Copy link
Author

SrBrahma commented Sep 6, 2020

Fixed it by using paddingHorizontal: 0 on TextInput!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant