-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
TextWidthBasis.longestLine prevents text from unwrapping when width constraints increase #142309
Labels
a: typography
Text rendering, possibly libtxt
found in release: 3.16
Found to occur in 3.16
found in release: 3.19
Found to occur in 3.19
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
r: fixed
Issue is closed as already fixed in a newer version
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Comments
Reproducible using the code sample provided above. flutter doctor -v
|
danagbemava-nc
added
framework
flutter/packages/flutter repository. See also f: labels.
a: typography
Text rendering, possibly libtxt
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
team-framework
Owned by Framework team
found in release: 3.16
Found to occur in 3.16
found in release: 3.19
Found to occur in 3.19
and removed
in triage
Presently being triaged by the triage team
labels
Jan 29, 2024
goderbauer
added
P2
Important issues not at the top of the work list
fyi-engine
For the attention of Engine team
triaged-framework
Triaged by Framework team
labels
Jan 30, 2024
8 tasks
danagbemava-nc
added
the
r: fixed
Issue is closed as already fixed in a newer version
label
Feb 12, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
a: typography
Text rendering, possibly libtxt
found in release: 3.16
Found to occur in 3.16
found in release: 3.19
Found to occur in 3.19
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
r: fixed
Issue is closed as already fixed in a newer version
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Steps to reproduce
This bug already exists here, but it has been closed
Use case
When using
textWidthBasis: TextWidthBasis.longestLine
in aText
widget, if we decrease the size of the window (web or desktop), the text shrinks correctly, but when we increase the size of the window again, the text does not expand.This does not happen with
TextWidthBasis.parent
.See the attached video.
Expected results
The text is correctly resized when the size of the window increases
Actual results
The text is not resized when the size of the window increases
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
text-width-basis-issue-longest-line_rvgtfnEj.mp4
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: