Skip to content
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

Arabic Text Tap Gestures don't work on Label Spans in iOS #22480

Open
letscodewithkalyan opened this issue May 17, 2024 · 2 comments
Open

Arabic Text Tap Gestures don't work on Label Spans in iOS #22480

letscodewithkalyan opened this issue May 17, 2024 · 2 comments
Labels
area-controls-label Label, Span migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@letscodewithkalyan
Copy link

Description

With Label FormattedText Span I added Click listener through GestureRecognizers, In English and French worked fine But in Arabic Event Not firing. it seems to be fixed in #4734. But Arabic Still issue exist.

Steps to Reproduce

 <Label
            Style="{StaticResource Headline}"
            SemanticProperties.HeadingLevel="Level1">
            <Label.FormattedText>
                <FormattedString>
                    <Span Text="مرحبا بالعالم"/>
                    <Span Text="  "/>
                    <Span Text="انقر لإظهار النافذة المنبثقة" TextColor="Blue" TextDecorations="Underline">
                        <Span.GestureRecognizers>
                            <TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped"/>
		                </Span.GestureRecognizers>
		            </Span>
	            </FormattedString>
	        </Label.FormattedText>

in Xaml.cs file

async void TapGestureRecognizer_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
{
    await App.Current.MainPage.DisplayAlert(string.Empty, "Arabic Text tapped", "Ok");
}

Link to public reproduction project repository

https://github.com/letscodewithkalyan/MauiSpanTapIssue

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms, Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS

Did you find any workaround?

No response

Relevant log output

No response

@letscodewithkalyan letscodewithkalyan added the t/bug Something isn't working label May 17, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@kevinxufei kevinxufei added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed platform/iOS 🍎 labels May 17, 2024
@kevinxufei
Copy link
Collaborator

Can repro this issue at iOS platform on the latest 17.10 Preview 7(8.0.40/8.0.21) with sample project.

@PureWeen PureWeen added area-controls-label Label, Span migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels May 17, 2024
@PureWeen PureWeen added this to the Backlog milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-label Label, Span migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants