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

Removing multiline on Android doesn't change component size #546

Open
289Adam289 opened this issue Nov 14, 2024 · 0 comments
Open

Removing multiline on Android doesn't change component size #546

289Adam289 opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@289Adam289
Copy link

Description

If original text value has \n character, removing multiline prop doesn't change component size, leaving blank space equal to the number of \n characters. Removing spaces reduce component size.

Screen.Recording.2024-11-14.at.18.04.10.mov

Reproduction steps:

  1. Open example app
  2. set initial value to text that includes new line character
  3. comment multiline prop
  4. Observe that component size stays the same even though there is single line of text.

commit c352064

@tomekzaw tomekzaw added the bug Something isn't working label Nov 21, 2024
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

2 participants