-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Span TapGesture on Label FormattedString #21284
Comments
I think this should be fixed with the release from last week. Can you confirm that you are using this version? |
@jfversluis I am still not seeing it work with the latest update from NET 8. I went to this link: https://dotnet.microsoft.com/en-us/download which appears to be 8.0.3 (latest suggested). I then updated my workloads using dotnet workload update and I checked with dotnet workloads list and this is what I am seeing: Installed Workload Id Manifest Version Installation Sourcemaui 8.0.7/8.0.100 SDK 8.0.200 I am slightly confused because I would have expected to see SDK 8.203 but it does appear to be on 8.0.10 |
@jfversluis occours in 8.0.10 version too |
Are you testing the sample from the docs? or do you have an additional repro you can add? |
@PureWeen I know it wasn't directed at me but I am using the sample from the docs |
I tested that sample against 8.0.10 and it worked for me Can you please zip up your sample? |
@PureWeen Here is the sample project I just ran and saw that iOS doesn't respond when tapped but Android build does. I am using Rider (2023.3.4), running it on an iOS simulator (iPhone 15), and using Xcode 15.2. I did a normal scaffolded project but can't attach the sample because it's too big so I will put the code in-line here (there is only one page so this is it)
Code behind: `using System.Windows.Input; namespace SpanMauiTest; public partial class MainPage : ContentPage
}` If you need anything else from me, please let me know and I will get it to you ASAP. This is directly from the Label docs on for MAUI. |
@jshaffermanLT if you delete the bin/obj folders and zip it up or push it to github then we can make sure we're testing the same thing. |
Here is the sample app I am using |
Verified this issue with Visual Studio 17.10.0 Preview 2 (8.0.14/8.0.7). It repro on iOS platform with 8.0.7, and not repro on 8.0.14. |
@jshaffermanLT if I pull down your sample and change the NuGet version to 8.0.14, which is the latest release, your sample works for me. Could you confirm that this is the case for you as well? If so, please close this one, thanks! |
@jfversluis Yes it does! Thanks for getting back with me quickly, I appreciate it. I can confirm that when I updated my nugget packages to 8.0.14 all is well in the world 😄 |
Perfect, thanks for letting us know! |
Description
I have followed the MAUI docs and when I try to run our application (NET 8 MAUI) it works fine on Android but the command is never executed on iOS.
This is the class verbatim from the MAUI docs:
This is the usage verbatim from the docs:
The command is simply never executed on iOS. It works fine on Android.
Using the MAUI docs from here: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/label?view=net-maui-8.0#use-formatted-text
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.6 SR1
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
iOS 15
Did you find any workaround?
I have not been able to find a workaround. I tried to use the Tapped event instead of the command but it has the sam affect (no event propagated on iOS)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: