diff --git a/src/Toolkit/Toolkit/UI/Controls/FeatureForm/AttachmentsFormElementView.Windows.cs b/src/Toolkit/Toolkit/UI/Controls/FeatureForm/AttachmentsFormElementView.Windows.cs index 6f8d67464..2ed8abf53 100644 --- a/src/Toolkit/Toolkit/UI/Controls/FeatureForm/AttachmentsFormElementView.Windows.cs +++ b/src/Toolkit/Toolkit/UI/Controls/FeatureForm/AttachmentsFormElementView.Windows.cs @@ -52,6 +52,7 @@ public override void OnApplyTemplate() } if(GetTemplateChild("ItemsScrollView") is ScrollViewer scrollViewer) scrollViewer.ScrollChanged += ScrollViewer_ScrollChanged; + UpdateVisibility(); } private void ScrollViewer_ScrollChanged(object sender, ScrollChangedEventArgs e) @@ -87,4 +88,4 @@ private void AddAttachmentButton_Click(object sender, RoutedEventArgs e) } } } -#endif \ No newline at end of file +#endif