Skip to content

Conversation

xLEGiON
Copy link

@xLEGiON xLEGiON commented Feb 26, 2024

This fixes #265. The more efficient use of ItemsReplaced is kept when the old and new items have the same length. Otherwise, the previous behavior is used.

Note that AvaloniaUI/Avalonia#13795 made the same change to VirtualizingStackPanel that was made to TreeDataGridPresenterBase which caused the issue. I haven't used the VirtualizingStackPanel before, so I can't test if it has the same issue.

@xLEGiON
Copy link
Author

xLEGiON commented Dec 16, 2024

I've updated this to resolve conflicts. I've also added a minimal reproducible example to #265. If anyone gets time to take a look, it would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TreeDataGridPresenterBase Replace Regression
1 participant