microsoft / microsoft/microsoft-ui-xaml
Non-editable ComboBox not working properly in touch device
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
While using touch device, the non-editable Combo Box items are moving continuously in a cyclic manner.
Is there any option to stop this cyclic scrolling behavior of non-editable ComboBox while using in touch devices?
### Steps to reproduce the bug
1. Open Visual Studio.
2. Create a WinUI 3 project using the project template **Blank App, Packaged (WinUI 3 in Desktop)**
3. Add the following ComboBox code in MainWindow.xaml file.
```
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
item 15
```
5. Build the project.
6. Run the application in a device that having touch support.
7. Touch to open the ComboBox drop-down.
8. Scroll the items using finger on drop-down.
### Expected behavior
Scrolling should be stopped when reaching the last item.
### Screenshots

### NuGet package version
Windows App SDK 1.5.6: 1.5.240802000
### Packaging type
Packaged (MSIX)
### Windows version
Windows 10 version 22H2 (19045, 2022 Update)
### IDE
Visual Studio 2022
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue in the packaged WinUI 3 project using the ComboBox markup in MainWindow.xaml on a touch-enabled device. Start by investigating the ComboBox drop-down scrolling behavior in the WinUI control implementation. Done means touch scrolling stops at the last item instead of continuing cyclically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, xml
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100