When maximizing or restoring the window size, the scroll view does not update
Describe your issue When maximizing or restoring the window size, the scroll view does not update. I must trigger a scroll to update the view correctly.
https://github.com/user-attachments/assets/ee8a7f0e-3fa6-44bc-ac6e-dabf80d93a43
<ListView ItemsSource="{Binding TestImages}">
<ListView.ItemTemplate>
<DataTemplate>
<Image MaxWidth="150"
MaxHeight="100"
Source="{Binding}" />
</DataTemplate>
</ListView.ItemTemplate>
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<vwp:VirtualizingWrapPanel />
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>
Version Info Package Version: [2.3.2] .NET Version: [.NET9]
Unfortunately, I am unable to reproduce the issue. Please provide a minimal reproducer.
@sbaeumlisberger This issue is somewhat similar to: https://github.com/dotnet/wpf/issues/11234. I will provide a minimal reproducer when I have time.
I created a minimal reproducer, but I still couldn't reproduce the issue. It might be related to HandyControl or other factors.
When switching the data binding of a ListBox control,also encountered a similar problem:When selecting the first data source, scroll down the data,Then select the second data source,At this point, the scrollbar has not returned to its initial position, and the view shows a blank space,If you scroll the scrollbar at this time, the view will refresh and display normally