-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ListViewBase): Adjust indices repairing considering recursive list manipulation #11841
Conversation
…t manipulation When manipulating its internal ListView, the TreeView control handles TreeViewItem datacontext changes so remove items in a recursive way. Removal of items in a ListView was incorrectly repairing indices after cleaning up containers, causing containers to be incorrectly reused.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TreeView.cs
Show resolved
Hide resolved
The build 73979 found UI Test snapshots differences: Details
|
@Mergifyio backport release/stable/4.8 |
✅ Backports have been created
|
@Mergifyio backport release/stable/4.7 |
✅ Backports have been created
|
…4.7/pr-11841 fix(ListViewBase): Adjust indices repairing considering recursive list manipulation (backport #11841)
GitHub Issue (If applicable): closes #11821
PR Type
What kind of change does this PR introduce?
What is the new behavior?
When manipulating its internal ListView, the TreeView control handles TreeViewItem datacontext changes so remove items in a recursive way. Removal of items in a ListView was incorrectly repairing indices after cleaning up containers, causing containers to be incorrectly reused.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):