maui
maui copied to clipboard
[iOS] Fix gestures in Label Spans
Description of Change
Fix gestures in Label Spans on iOS.
To test/validate the changes, open the .NET MAUI Gallery and navigate to the Label page. Tap the Span with the text "Click Me". If the Span changes the TextColor, is working as expected.
Also tested using the Issue3525 UI Test.
Issues Fixed
Fixes https://github.com/dotnet/maui/issues/8004 Fixes https://github.com/dotnet/maui/issues/4734
Is there a reason this is still in draft @jsuarezruiz?
/rebase
Is there a reason this is still in draft @jsuarezruiz?
Yes, sorry. All my open PRs, are Draft except 4 to focus on them, speed up merges and reduce the number of open PRs (20 at the moment).
Added UI Test.
Tests are failing?
Hi @jsuarezruiz. We have added the "s/pr-needs-author-input" label to this issue, which indicates that we have an open question/action for you before we can take further action. This PRwill be closed automatically in 14 days if we do not hear back from you by then - please feel free to re-open it if you come back to this PR after that time.
Test passing on device and simulators:
Hi @jsuarezruiz. We have added the "s/pr-needs-author-input" label to this issue, which indicates that we have an open question/action for you before we can take further action. This PRwill be closed automatically in 14 days if we do not hear back from you by then - please feel free to re-open it if you come back to this PR after that time.
@jsuarezruiz will this fix make it into .net 8 with the android fix?
@IeuanWalker It is slated for .NET MAUI 8 Service Release 2. See above:
@jsuarezruiz will this fix make it into .net 8 with the Android fix?
You can introduce the new label control view and copy the fix implementation of ArrangeOverride as a temporary fix for iOS; this is what I plan to do :)
Will this PR be re-opened? This is sorely needed as it breaks apps migrating from Xamarin which used this feature.
@jsuarezruiz @PureWeen @samhouts 👆👀
/rebase
Let's see how this goes with the rebase on top of all our CI fixes.
I hope this iOS fix for label spans happens soon....
I know this is marked stale but it's definitely still an issue that needs to be fixed on iOS for .NET 8.
Does anyone know of a workaround for this until this PR makes it's way through?
@BrandanN21 https://github.com/dotnet/maui/issues/4734#issuecomment-1891172645
Agreeing with above commenters, this update would be great to have added in for service release 2, as mentioned above. Any updates on status?
Removed the stale label, build is passing.
iOS update | Android update |
---|---|
Waiting for the iOS UITests to work again!
/rebase
Can someone confirm that this is fixed for Windows too, please?
yep, I desperately need this for windows too
What version of .NET MAUI will this fix appear in? We have users complaining they can't tap links on iOS and we'd like to be able to give an ETA on the fix.
thanks
Can someone confirm that this is fixed for Windows too, please?
You can try a nightly build (https://github.com/dotnet/maui/wiki/Nightly-Builds) to verify if the PR fixes your issue.
What version of .NET MAUI will this fix appear in? We have users complaining they can't tap links on iOS and we'd like to be able to give an ETA on the fix.
thanks
Not a MAUI team member but https://github.com/orgs/dotnet/projects/194/views/22?pane=issue&itemId=15608832 shows that it should be released as a part of the SR3 release. So hopefully at most weeks. No guarantees.
Thanks @MartyIX. We wouldn't generally play with the nightly builds as we can't use them in production anyway, so we're interested in getting a version/date of when the fix is officially released but thanks or the idea and looking into it for me. I struggled to find that page.