CPP WinAppSDK app crashes when dragging ListView scroll bar
Describe the bug
When having nested Grid in ListView.ItemTemplate (not 100% confirmed), after some ListView item is updated (any property changed) dragging ListView's scroll bar causes app to crash. This only happens when ListView has many items (> few thousands).
It sometimes crashes right away and sometimes after scrolling up and down. Check the attached gif.
Steps to reproduce the bug
- Clone and run https://github.com/stefansjfw/winappsdk_cpp_crash_example.git
Crashing scenario: 2. Press 'click to change the first item in the list' button 3. Dragg ListView scroll bar up and down until app crashes
Non-crashing scenario: 2. Dragg ListView scroll bar up and down and observe that app doesn't crash
Expected behavior
App doesn't crash
Screenshots

NuGet package version
1.1.3
Packaging type
Unpackaged
Windows version
Windows 10 version 21H1 (19043, May 2021 Update)
IDE
Visual Studio 2022
Additional context
No response
Originally noticed as https://github.com/microsoft/PowerToys/issues/19867
This is solved with the latest version of winappsdk 1.1.4