Open eriklimakc opened 5 days ago
@Xiaoy312 would you have an idea?
cc @kazo0
It also works if you wrap the ItemsRepeater
in a ScrollViewer
, so an example would be:
<ScrollViewer Background="Red"
HorizontalScrollMode="Disabled"
VerticalScrollBarVisibility="Hidden">
<uer:FeedView Background="Green"
Source="{Binding Recipes}">
<DataTemplate>
<ScrollViewer>
<muxc:ItemsRepeater Background="Orange"
ItemTemplate="{StaticResource MyItemsRepeaterTemplate}"
ItemsSource="{Binding Data}"
utu:ItemsRepeaterExtensions.SelectionMode="Multiple"
utu:ItemsRepeaterExtensions.SupportsIncrementalLoading="True"
Layout="{StaticResource ResponsiveGridLayout}" />
</ScrollViewer>
</DataTemplate>
</uer:FeedView>
</ScrollViewer>
cc @kazo0 @Xiaoy312
Current behavior
In a specific scenario the
ItemsRepeater
withItemsRepeaterExtensions.SupportsIncrementalLoading
is only rendered when interacted. IfItemsRepeaterExtensions.SupportsIncrementalLoading
is removed then items are rendered when the control is loaded.As this is a bit specific I'm not really sure if it's a toolkit issue, a
FeedView
issue, or something else.A workaround for this is to wrap the whole thing with a
<utu:AutoLayout>
.https://github.com/user-attachments/assets/72b9f99e-80c4-477a-a8d9-27fa2e5ae3cb
How to reproduce it (as minimally and precisely as possible)
UnoApp3.zip
Nuget Package:
Package Version(s):
Affected platform(s):
IDE:
Relevant plugins:
Anything else we need to know?