[macOS] CollectionView.Header with a Grid - incorrect fixed width - does not resize #22354
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
The Header of a CollectionView does not size appropriately according to the Grid.Columndefinitions.
Tested same code on Windows where it does work like expected.
Steps to Reproduce
Using CollectionView.HeaderTemplate together with a DateTemplate does not seem to matter.
Running the same code on Windows gives the desired effect where the Headers resize appropriately with the collums.
Link to public reproduction project repository
https://github.com/AlexVDV116/CollectionViewHeaders
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
macOS Sonoma 14.4.1
Did you find any workaround?
Extracting the GRID out of the CollectionView.Header and placing it above the CollectionView using a VerticalStackLayout, or using a ListView and its headers do provide me the desired effect. However this does not make use of the CollectionView Headers.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: