-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Link in Label with TextType HTML is not clickable #21328
Description
Description
Issue:
In MAUI, there is an issue where links within a Label are not clickable when using TextType="Html".
Expected Behavior:
When using TextType="Html", links within the Label should be clickable, allowing users to navigate to the linked resource.
Actual Behavior:
The link within the Label remains unclickable, preventing users from interacting with it.
Impact:
This issue affects user experience and functionality, especially in scenarios where clickable links are essential for navigation or accessing external resources.
Code Snippet:
<Label TextType="Html" Text="{Binding NotificationText}" />
NotificationText could be something like 'Some Text <a href="https://www.example.com">Example</a> Other Text'
Since the text utilized originates from the server in HTML format, potentially including links, implementing a static link is not feasible as a workaround at this stage. Any suggestions or workarounds to address this issue would be greatly appreciated.
Steps to Reproduce
- Define a Label in a MAUI project.
- Set the TextType property to "Html".
- Bind the Text attribute to a property containing HTML content with a clickable link.
- Run the application and observe that the link within the Label is not clickable.
Version with bug
8.0.6 SR1
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Did you find any workaround?
No