EmptyViewTemplate Does Not Apply HeightRequest and WidthRequest, Causing Header and Footer to Be Invisible in CV2 #28605
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
collectionview-cv2
i/regression
This issue described a confirmed regression on a currently supported version
partner/syncfusion
Issues / PR's with Syncfusion collaboration
platform/ios
platform/macos
macOS / Mac Catalyst
regressed-in-9.0.0
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When the EmptyViewTemplate is active in the CollectionView, the Header and Footer are not visible. Initially, this issue appeared when setting HeightRequest and WidthRequest in the EmptyViewTemplate, as the values were not applied, preventing proper resizing. Additionally, even without setting HeightRequest and WidthRequest, the Header and Footer remain invisible.
However, the EmptyView itself respects these properties and resizes correctly. When HeightRequest and WidthRequest are explicitly set in the EmptyView, the Header and Footer become visible. But without explicitly setting these values, the Header and Footer do not appear.
Screen.Recording.2025-03-25.at.5.38.34.PM.mov
Steps to Reproduce
Expected Behavior:
Actual Behavior:
Link to public reproduction project repository
No response
Version with bug
9.0.50 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: