CommunityToolkit / CommunityToolkit/Maui

[BUG] Items inside the CollectionView that inside the Expander don't stretch on Android

Open
#1,656 2 comments 1 reaction 0 assignees View on GitHub
area/views bug
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### 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

Items inside the CollectionView that inside the Expander don't stretch on Android
![2024-01-24 113250](https://github.com/CommunityToolkit/Maui/assets/43554176/ae312acf-ba66-4159-848a-ff03acdf122c)

### Expected Behavior

Items stretch to full width of the Expander.
![image](https://github.com/CommunityToolkit/Maui/assets/43554176/fdd1b9b2-b105-4a49-962f-0299a6d258e3)

### Steps To Reproduce

1. Open and run solution from repository

### Link to public reproduction project repository

https://github.com/Nevmen/ExpanderWithCollectionView

### Environment

```markdown
- .NET MAUI CommunityToolkit: 7.0.1
- OS: Android
- .NET MAUI: 8.0.3
```

### Anything else?

After moving or resizing emulator window items stretch as expected.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.