dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.2k stars 1.75k forks source link

Gesture in Label doesn't work #10135

Closed ForkBug closed 2 years ago

ForkBug commented 2 years ago

Description

Following the instructions in https://docs.microsoft.com/en-us/dotnet/maui/user-interface/controls/label#create-a-hyperlink to create a hyperlink. The link doesn't respond to the span tap gesture on the Android API 30 emulator and Android API 26 device.

Steps to Reproduce

Following the instructions in https://docs.microsoft.com/en-us/dotnet/maui/user-interface/controls/label#create-a-hyperlink to create a hyperlink. the Span.GestureRecognizer doesn't work.

Link to public reproduction project repository

https://github.com/dotnet/maui-samples/tree/main/6.0/UserInterface/HyperlinkDemo

@davidbritch , has the demo been tested on Android?

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android API 30 emulator and Android API 26 device

Did you find any workaround?

No

Relevant log output

No response

davidbritch commented 2 years ago

It should work for Span objects but doesn't due to a product bug.

Dupe of #4734 and #8004 .

ForkBug commented 2 years ago

It should work for Span objects but doesn't due to a product bug.

Dupe of #4734 and #8004 .

Thanks for pointing out the duplication. There are 1.7k issues now so I didn't go through all the search results. My mistake.