CommunityToolkit / Windows

Collection of controls for WinUI 2, WinUI 3, and Uno Platform developers. Simplifies and demonstrates common developer tasks building experiences for Windows with .NET.
https://aka.ms/windowstoolkitdocs
Other
513 stars 65 forks source link

RangeSelector isn't usable with touch #486

Open dongle-the-gadget opened 3 weeks ago

dongle-the-gadget commented 3 weeks ago

Describe the bug

Users can't hold the thumbs of the RangeSelector, making the touch experience very bad.

Steps to reproduce

Reproducible in the Sample App (in the Store):
1. Go to the RangeSelector sample page.
2. Hold on one of the circular thumbs and try to drag them.
3. Notice that they won't change their values.

Expected behavior

It should be possible to change the range by dragging using touch.

Screenshots

No response

Code Platform

Windows Build Number

Other Windows Build number

27686

App minimum and target SDK version

Other SDK version

No response

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

Desktop

Additional context

No response

Help us help you

No, I'm unable to contribute a solution.

Arlodotexe commented 1 week ago

It didn't repro on my first check, but the second and subsequent checks (including the recording below) were able to reproduce the issue.

https://github.com/user-attachments/assets/74db41a4-52e9-435a-8ca9-14ff0fbda891

Tapping seems to work still:

https://github.com/user-attachments/assets/56581fc6-46df-4101-83d6-c6d83c4c43f5

Occasionally, dragging then moving the pointer to the stopping position will cause the thumb to follow the cursor until it leaves the RangeSelector.

It's not clear why these things are happening, we'll need to examine the code for clues.