Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Fixing issue #15314 #15687

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions Xamarin.Forms.Platform.iOS/Renderers/LabelRenderer.cs
Expand Up @@ -263,6 +263,9 @@ void UpdateTextDecorations()
if (!(Control.AttributedStringValue?.Length > 0))
return;
#endif
// If FormattedText is changed after the initial render, it will be removed on either line 285 or line 290.
if(IsTextFormatted && _formatted.Spans?.Any(span => span.TextDecoration > TextDecorations.None))
return;

var textDecorations = Element.TextDecorations;
#if __MOBILE__
Expand Down