microsoft / microsoft/microsoft-ui-xaml
If the ItemsView scrolls the scrollbar, the memory of the item will not be released.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
page

item

source code
[TestApp.zip](https://github.com/user-attachments/files/16922665/TestApp.zip)
### Steps to reproduce the bug
https://github.com/user-attachments/assets/e6b99cdf-2b84-4091-ac5d-961673707ccf
### Expected behavior
After leaving the page, memory should be freed
### Screenshots
_No response_
### NuGet package version
WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007
### Windows version
Windows 11 (22H2): Build 22621
### Additional context
_No response_
Contributor guide
Research direction
Start by opening the attached TestApp.zip and reproducing the ItemsView scrolling scenario from the linked recording on Windows App SDK 1.6.0. Trace the ItemsView and page lifetime while leaving the page, then confirm that item memory is released after navigation away. Done means the reported retention no longer occurs in the supplied reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100