microsoft / microsoft/microsoft-ui-xaml

Unable to select numbers if it is a hyperlink

Open
#10,779 2 comments 1 reaction 1 assignee Claimed by @snigdha011997 View on GitHub
area-Hyperlink bug team-Controls
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

When selecting a hyperlinked number the selection starts at the beginning of the line instead of the place where the mousebutton is clicked.

https://github.com/user-attachments/assets/2b3227e1-4777-4638-8981-571e461d4aaa

Link to application: https://appinstaller.xelion.com/winapp/v8n/Xelion-Package.appinstaller
Soon also in the Windows Store: https://apps.microsoft.com/search?query=xelion

Used version: Windows App SDK 1.7.x or latest Windows App SDK 1.8.0: 1.8.250907003

### Why is this important?

The user needs to apply a workaround. For example by selecting all text, copy to notepad, and then select the right number.

### Steps to reproduce the bug

1. Enter chat message with a number in the middle.
2. Mouse down just before the hyperlinked number.
3. Mouse up after the hyperlinked number.

### NuGet package version

WinUI 3 - Windows App SDK 1.8.0: 1.8.250907003

### Windows version

Windows 11 (24H2): Build 26100

### Additional context

Used WinUI components or sourcecode information is not available to me as user.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.