microsoft / microsoft/microsoft-ui-xaml
Unable to scroll in horizontal ItemsView using mouse wheel
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
Describe the bug
When setting up a ItemsView with a StackLayout that has Orientation="Horizontal" set, I cannot scroll through the list using the mouse wheel. This was and is possible with ListView when using a ItemsStackPanel with Orientation="Horizontal"
Steps to reproduce the bug
<ItemsView>
<ItemsView.Layout>
<StackLayout Orientation="Horizontal" />
</ItemsView.Layout>
...
</ItemsView>
Expected behavior
I can scroll through the list using the mouse wheel
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.7.2: 1.7.250513003
Windows version
Windows 11 (24H2): Build 26100
Additional context
This bug report is likely related: https://github.com/dotnet/maui/issues/22680
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named; start by reproducing the XAML example on WinUI 3 and Windows App SDK 1.7.2, then trace ItemsView's horizontal StackLayout input and scrolling behavior. Compare with ListView using a horizontal ItemsStackPanel and review related issue #22680. Done means mouse-wheel input scrolls the horizontal ItemsView.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100