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

iOS: Text not wrapping when nested inside Row #2011

Open
ean5533 opened this issue May 6, 2024 · 0 comments
Open

iOS: Text not wrapping when nested inside Row #2011

ean5533 opened this issue May 6, 2024 · 0 comments

Comments

@ean5533
Copy link

ean5533 commented May 6, 2024

Summary

On iOS, a Text that is inside a Row will not properly text wrap. It works as expected on Android.

Repro

Text("This is a very long piece of text that will wrap the screen")

Row {
  Text("This is a very long piece of text that SHOULD wrap the screen")
}

Screenshots

iOS vs Android:
image

iOS view hierarchy:
image

Attempted tweaks

  • Setting Row(overflow = Overflow.Scroll) has no effect on iOS, but makes the content scrollable as expected on Android
  • Setting Row(width = Constraint.Fill) has no effect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants