StepList is a type of AsyncObservableCollection. The text file for same is attached in Question. On CollapseCommand , we set DocumentStep.IsCollapsed and based on that IsVisibility property is set to true or false.
How to fix Expand and Collapse issue of CollectionView control on MAC?
Hello,
Application is developed in .Net MAUI and supporting both platforms , MacOS and Windows.
On MAC 14.2 and 15.3, I am using CollectionView to display list of items and on clicking ImageButton of type 'ActivityStep', we are setting IsVisible = false to hide items under 'ActivityStep', it shows blank space instead of collapsing. Expands the items properly on clicking again.
Please see below images and sample CollectionView code CollectionView xaml.txt attached along with Custom ObservableCollection<T> wrapper class AsyncObservableCollection.txt. Its only happening for MACCATALYST, on Windows there is no issue with expand and collapse.
2. Collapsed CollectionView.png
3. Row hiding issue on MAC.png
4. Row hiding issue on MAC.png
Please assist ASAP.
Thanks,
Chaitrali