-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 Some Virtualizing List Update Bugs #13795
Conversation
Don't rely on a remove/insert - it creates more work than needed.
You can test this PR using the following package version. |
This might be related to the issues with collection changes not reflecting properly in the displayed list that has been elusive for me to track down and understand. I see that in a real app but am unable to repro so far in a simple test cases (though I forgot to check insert). I'm going to re-run with this package and see if that fixes things. |
Port fixes to `RealizedStackElements` from AvaloniaUI/Avalonia#13795.
Port fixes to `RealizedStackElements` from AvaloniaUI/Avalonia#13795.
Port fixes to `RealizedStackElements` from AvaloniaUI/Avalonia#13795.
What does the pull request do?
RealizedStackElements
when items are inserted or removed, and add tests for these casesReplace
is carried out, don't implement it using a remove and an insert. It's much simpler to just unrealize the element.Fixed issues
Fixes #11666 (and probably more, need to check)