Scroll ListView with Mouse will be crash app
See original GitHub issueDescribe the bug
load a listview with some data try to scroll with mouse you will get exception:
Exception thrown at 0x00007FFD86C93AAE (ntdll.dll) in AlAnvar.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
Unhandled exception at 0x00007FFD86C9394F (ntdll.dll) in AlAnvar.exe: Indirect call guard check detected invalid control transfer.
Steps to reproduce the bug
- create a new winui 3 poject
- load listview with data
- scroll
Expected behavior
No response
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.1 Preview 3: 1.1.0-preview3
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
App crashes when I scroll the ListView again and again
I have used a list view and there are more than 65,000 records, scrolling is not done fast and smooth, and also if...
Read more >Mobile app crashes when scrolling/refreshing the users list ...
I tried this a couple of times , it crashes the app inevitably after (quick) successive multiple scrolls/refreshes of the users list ....
Read more >Crash observed when using ListView within ScrollView ...
Desired behavior is to display a ListView within containing ScrollView that shows horizontal scroll bar as needed based on delegate width.
Read more >Computer sometime crashes on scroll
My PC (a well-spec'd Windows 10 Pro machine) will, occasionally, totally and suddenly wipe-out and reboot when scrolling with the mouse ...
Read more >ListView: Long press and release to initiate a grab, move ...
After the long press (and release), the list is "grabbed" and any movement of the mouse along the y-axis should result in scrolling...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The same exceptions are thrown when scrolling in a zoomed ScrollViewer control (from
ntdll.dllin retail build andMicrosoft.UI.Input.dllin debug)Edit: this bug isn’t build related, I guess it’s a timing issue.
fixed in v1.1.4