multiline text incorrectly calculates intrinsic height #62619
Labels
a: typography
Text rendering, possibly libtxt
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Multiline text on web appears to compute the wrong intrinsic height. Here is a repo of the problem occurring:
https://dartpad.dev/9059244f9a737f01f73242c2f7f174f5
Run the Dart Pad and press the button at the bottom of the screen. You'll see an overflow that shouldn't happen.
Here is the same Dart Pad with only a single line of text and the overflow does not occur:
https://dartpad.dev/9795697f867daf7175f9716273c2fb3b
This bug seems to still exist even with the
FLUTTER_WEB_USE_EXPERIMENTAL_CANVAS_TEXT
flag.The text was updated successfully, but these errors were encountered: