-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Non-breaking space character isn't honored when using WidgetSpan
s
#148259
Labels
found in release: 3.22
Found to occur in 3.22
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
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.
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.22
Found to occur in 3.22
and removed
in triage
Presently being triaged by the triage team
labels
May 14, 2024
goderbauer
added
P2
Important issues not at the top of the work list
triaged-framework
Triaged by Framework team
labels
May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
found in release: 3.22
Found to occur in 3.22
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
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Steps to reproduce
Use the example code to progressively constrain the available space for the text until there's not enough room to fit the icon image on the same line as the text before it.
Flutter version:
Expected results
The text splits such that the word before the icon image moves to the next line, along with the icon image.
Actual results
Only the icon image moves to the next line.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
This video demonstrates the correct behavior of a non-breaking space with an emoji in the text, as compared to the broken behavior of a widget span that displays an icon image, which breaks the text at the wrong plae.
Screen.Recording.2024-05-13.at.2.22.26.PM.mov
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: