-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
VirtualizingWrapPanel does not shrink when items are changed #51
Comments
Thanks for reporting. I will have a look. |
I have released a new nuget package with some fixes regarding item collection changes: https://www.nuget.org/packages/VirtualizingWrapPanel/2.0.3 When If you items all have the same size I would recommend to remove the |
I tried it out and it works great when Call stack to save you some time:
|
Seems to work great, thanks a lot! |
I am testing out the new 2.0 version and it works great overall.
I did however run into an issue where the container doesn't shrink when items are removed from the collection or if the collection changes to have less items such as when a filter is applied. Instead you can scroll right past the items into the void until you reach the bottom of the original container size.
Here is a minimal repo that showcases the problem: just press any key to generate a new collection of a random size and you will see it doesn't shrink unlike a regular listview for example which does shrink.
https://github.com/DSPaul/ContainerNotResizing
Version Info
Package Version 2.0.0
.NET Version: .NET 7
OS Version: Windows 10 22H2
The text was updated successfully, but these errors were encountered: