redwood icon indicating copy to clipboard operation
redwood copied to clipboard

iOS: Text not wrapping when nested inside Row

Open ean5533 opened this issue 9 months ago • 0 comments

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

ean5533 avatar May 06 '24 21:05 ean5533