Closed
Description
Description
After modified(add or remove) items in the inner ItemsSource the inner Layout WONT update the bounds or just display for first item.
When the outter CollectionView is long enough to be scrolled, the inner CollectionView will be updated incorrectly, all the inner CollectionView will only display the first item
Only for iOS, android is ok
Steps to Reproduce
// outter CollectionView
<CollectionView ItemsSource="{Binding Items}">
<CollectionView.ItemTemplate>
<DataTemplate>
<local:InnerView BindingContext="{Binding}" />
</DataTempalte>
</CollectionView.ItemTemplate>
</CollectionView>
// InnerView
<Border>
// no matter this is BindableLayout or CollectionView, the same result
<VerticalStackLayout BindableLayout.ItemsSource="{Binding Items}">
<BindableLayout.ItemTemplate>
<DataTemplate>
<SwipeView>
<Grid ColumnDefinitions="*" Padding="6, 2">
<VerticalStackLayout Spacing="1">
<Label Text="{Binding Title}"/>
<Label FontSize="10" Padding="2,0,0,0" TextColor="Gray" Text="{Binding Time}"/>
</VerticalStackLayout>
</Grid>
</SwipeView>
</DataTemplate>
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
</Border>
- Use above UI
- Add enough items to InnerView and OutterView for the outter view to be able to scroll
- Scroll the OutterView
Expected Result: every item is displayed
Actual Result: only the first item of the inner view will be displayed
Link to public reproduction project repository
Version with bug
7.0.100
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17 simulator
Did you find any workaround?
No response
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
CollectionView, CarouselView, IndicatorViewStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterIssues / PR's with Syncfusion collaborationIssue has been reviewedPlease try to reproduce the potential issue on the latest public versionVerified / Reproducible Issue ready for Engineering TriageSomething isn't working