Skip to content

[iOS] Label LinebreakMode (TailTruncation) for FormattedText does't work in CollectionView after scroll #28147

Open
@infinity-of-mind

Description

@infinity-of-mind

Description

Label LinebreakMode (TailTruncation) for FormattedText does't work in CollectionView after scroll on iOS (not tested on Android). Before scroll TailTruncation for all items in the collection is correct, but after scroll (up and down) items that was hided become corrupted.

There is no problem if text is set to "Text" property, only for "FormattedText" (FormattedString).

Can be reproduced on MAUI 8 and MAUI 9

Tested with new CollectionView handlers for MAUI 9, but no luck). All items corrupted on start.
link

Also tested with latest MAUI 9.0.40, issue still occurs

Description:
Image

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/infinity-of-mind/MauiLabelIssueRepro

Version with bug

9.0.14 SR1.4

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions