[BUG] Expander does not resize properly inside CollectionView
Is there an existing issue for this?
- [X] I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
The items are not expanded properly inside the Collection View
Expected Behavior
The expected behavior that any item in the collection view can be expanded and shouldn't affect the other items.
Steps To Reproduce
- Clone the repo
- Run the app on windows
- Try to expand any item.
Link to public reproduction project repository
https://github.com/malsabi/ExpanderCollectionView
Environment
- .NET MAUI CommunityToolkit: v7.0.0
- OS: Windows 10 Build 10.0.19041.0
- .NET MAUI: 8.0.3
Anything else?
No response
The issue also occurs in iOS when an Expander is placed within a ScrollView.
Expander in a CollectionView is working in dotnet 9.0.30 with Community Toolkit 11.0.0. It have included a video sample for Android, iOS, and Windows.
Android API 34:
https://github.com/user-attachments/assets/7333780a-283d-41f2-9247-263e2c3320d1
Windows 10 19041.0:
https://github.com/user-attachments/assets/cc3a38fc-7a9e-478b-a712-881c28593333
iOS 18.1:
https://github.com/user-attachments/assets/657279b5-fca6-47a3-a57c-a299cd0dda00