Trigger InvalidateMeasure event on CollectionView when content size changes (Windows and Android) #24672
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/android 🤖
platform/windows 🪟
t/bug
Something isn't working
Milestone
Description
When
CollectionView
is configured as*Options != Fill
theDesiredSize
depends on content size.When content size changes
InvalidateMeasure
should be triggered to notify parent views/layout about changes in the desired size.#24647 introduces such behavior on iOS to fix #21141 on iOS but the behavior should be consistent on all platforms.
Steps to Reproduce
Run device test
CollectionViewCanSizeToContent
by removing the#if IOS
compilation flag introduced in #24647 and observe it fails on platforms other than iOS.Link to public reproduction project repository
No response
Version with bug
8.0.82 SR8.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: