Description
CollectionView header is not visible when ItemsSource is not set and EmptyView is loaded in collectionview on iOS and Mac platform. This issue not occurring in android platform.
Steps to Reproduce
<CollectionView>
<CollectionView.ItemsLayout>
<GridItemsLayout Orientation="Vertical"
Span="2"/>
</CollectionView.ItemsLayout>
<CollectionView.Header>
<Label Text="Header"
FontSize="20"
FontAttributes="Bold"
Padding="20"/>
</CollectionView.Header>
<CollectionView.EmptyView>
<Label Text="No items yet"
FontSize="18"
Padding="20"/>
</CollectionView.EmptyView>
</CollectionView>
MauiApp1 2.zip
Link to public reproduction project repository
No response
Version with bug
10.0.50
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
no
Relevant log output
Description
CollectionView header is not visible when ItemsSource is not set and EmptyView is loaded in collectionview on iOS and Mac platform. This issue not occurring in android platform.
Steps to Reproduce
MauiApp1 2.zip
Link to public reproduction project repository
No response
Version with bug
10.0.50
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
no
Relevant log output