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

[Android] Span GestureRecognizers don't work when the span is wrapped over two lines. #23801

Open
SamuelJames101 opened this issue Jul 24, 2024 · 2 comments
Labels
area-controls-label Label, Span platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@SamuelJames101
Copy link

Description

Create a label with some formatted text.
Add a span with text such as a link "https://en.wikipedia.org/wiki/Tottenham_Hotspur_F.C."
This link needs to be long enough to wrap.
Add a GestureRecognizer to that specific span.

Expected result
The whole span is clickable

Actual result
The first line is not clickable

Steps to Reproduce

Click/Tap a wrapped span with an attached TapGestureRecognizer.
Not the whole string is tappable.

Link to public reproduction project repository

https://github.com/SamuelJames101/MultiLineLinkIssue

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@SamuelJames101 SamuelJames101 added the t/bug Something isn't working label Jul 24, 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.

@SamuelJames101 SamuelJames101 changed the title Span GestureRecognizers don't work when the span is spread over two line. [Android] Span GestureRecognizers don't work when the span is spread over two line. Jul 24, 2024
@SamuelJames101 SamuelJames101 changed the title [Android] Span GestureRecognizers don't work when the span is spread over two line. [Android] Span GestureRecognizers don't work when the span is wrapped over two lines. Jul 24, 2024
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 25, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.11.0 Preview 5.0(8.0.70). Can repro on Android platform.

@samhouts samhouts added the area-controls-label Label, Span label Jul 31, 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 platform/android 🤖 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