Browse Source

Update scroll after arrange.

Steven Kirk 9 years ago
parent
commit
f527d4ef1a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Avalonia.Controls/Presenters/ItemVirtualizerSimple.cs

+ 1 - 0
src/Avalonia.Controls/Presenters/ItemVirtualizerSimple.cs

@@ -83,6 +83,7 @@ namespace Avalonia.Controls.Presenters
         public override void Arranging(Size finalSize)
         {
             CreateRemoveContainers();
+            ((IScrollable)Owner).InvalidateScroll();
         }
 
         public override void ItemsChanged(IEnumerable items, NotifyCollectionChangedEventArgs e)