[regression/8.0.0-preview.7.8842] Labels with max lines and linebreakmode not working even with adding handler workaround #18059
Labels
area/controls 🎮
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
control-label
Label, Span
fixed-in-8.0.0-rc.2.9511
Look for this fix in 8.0.0-rc.2.9511
fixed-in-8.0.10
fixed-in-8.0.100-rc.2.9530
Look for this fix in 8.0.100-rc.2.9530
i/regression
This issue described a confirmed regression on a currently supported version
platform/android 🤖
t/bug
Something isn't working
Milestone
Description
Adding a label with LineBreakMode="TailTruncation" and MaxLines="2" makes the label only show on one line. Even adding the workaround handler (which fixed this issue in Net7) does not help anymore. I have attached a sample repo showing this - the last label should show on two lines.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/Zack-G-I-T/LabelBugNet8
Version with bug
8.0.0-preview.7.8842
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.0-preview.6.8686
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
Update code to use the new mapper:
Relevant log output
No response
The text was updated successfully, but these errors were encountered: