-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
In our application, when a Label with TextType set to "Html" is placed inside a ContentView and layout, the HTML content does not appear in the view. In the layout's Measure method, the height is calculated using PositiveInfinity to determine the child’s height, but the result is 0.
To replicate the issue, we set a flag named isEnsured to true during the first measure call in the ContentView's Measure method, which prevents a second measure call. This check is performed in the layout's Measure method.
However, when TextType is set to "Text" instead of "Html", the content is displayed correctly.
Steps to Reproduce
Steps to Reproduce
- Run the project.
- The Hello label text is not visible.
Expected: The "Hello" label Html text should be visible.
Actual: The "Hello" label Html text is not visible.
Link to public reproduction project repository
Version with bug
10.0.0-rc.1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
No response
Affected platforms
macOS, iOS
Affected platform versions
No response
Did you find any workaround?
No response

