Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] Expander does not resize properly inside CollectionView

Open malsabi opened this issue 2 years ago • 1 comments

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

  1. Clone the repo
  2. Run the app on windows
  3. 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

malsabi avatar Nov 22 '23 20:11 malsabi

The issue also occurs in iOS when an Expander is placed within a ScrollView.

marcoablanco avatar Aug 26 '24 06:08 marcoablanco

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

ne0rrmatrix avatar Jan 27 '25 15:01 ne0rrmatrix