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

[Bug]MarkdownTextBlock links mouse hover and click zone extends horizontally past the link #4504

Open
3 of 14 tasks
jaimecbernardo opened this issue Mar 9, 2022 · 9 comments
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior

Comments

@jaimecbernardo
Copy link

Describe the bug

In MarkdownTextBlock, if a link is the last element in the line, its click zone and zone where it shows the tooltip extends to the end of the line as well.
It should not extend past the link.
Creating this issue as suggested in microsoft/PowerToys#16902

Regression

No response

Reproducible in sample app?

  • This bug can be reproduced in the sample app.

Steps to reproduce

1. Open the sample app from the Windows Store.
2. Go to the MarkdownTextBlock page.
3. In the Markdown Text, scroll down to show one of the links which are the last in their line.
4. Mouse hover past the end of the link in the same vertical space and verify that the tooltip appears and that if you click, the link activates.

I'm sending a screenshot, with the mouse pointer in the area indicated by the red dot.

Expected behavior

Clickable and hover area should not extend horizontally past the link.

Screenshots

Screenshot from the sample app:
image

Screenshot from PowerToys:
image

Windows Build Number

  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)

Other Windows Build number

19044

App minimum and target SDK version

  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)

Other SDK version

No response

Visual Studio Version

2022

Visual Studio Build Number

No response

Device form factor

Desktop

Nuget packages

No response

Additional context

No response

Help us help you

Yes, but only if others can assist.

@jaimecbernardo jaimecbernardo added the bug 🐛 An unexpected issue that highlights incorrect behavior label Mar 9, 2022
@ghost ghost added the needs triage 🔍 label Mar 9, 2022
@ghost
Copy link

ghost commented Mar 9, 2022

Hello jaimecbernardo, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@ghost
Copy link

ghost commented Mar 24, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

7 similar comments
@ghost
Copy link

ghost commented Apr 8, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Apr 23, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented May 8, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented May 24, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Jun 8, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Jun 23, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Jul 8, 2022

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior
Projects
None yet
Development

No branches or pull requests

2 participants