[iOS] RecalculateSpanPositions causing crash #22469
Labels
area-controls-label
Label, Span
i/regression
This issue described a confirmed regression on a currently supported version
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
platform/iOS 🍎
t/bug
Something isn't working
Milestone
Description
Using formatted text with custom font and mixed spans( see Steps to reproduce example of FormattedText that triggers exception) is causing crash.
I am happy to create a PR for this fix with my calculation (see workaround), but I need 1-2 days to get know UI tests.
8.0.3 was working because there wasn't this method. 8.0.21/ 8.0.40 contains this issue
Steps to Reproduce
Link to public reproduction project repository
https://github.com/artemvalieiev/maui-ios-span-calc-crash
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
8.0.3 GA
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
Yes, we use custom span region calculation, and we had to use custom Label because RecalculateSpanPositions is located in ArrangeOverride.
The text was updated successfully, but these errors were encountered: