dotnet / dotnet/maui

[iOS] - CollectionView V2 layout problem

Open
#29,324 8 comments 2 reactions 0 assignees View on GitHub
area-controls-collectionview collectionview-cv1 platform/ios s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

With the CollectionView V2 handler, I have a layout display problem. When loading an item into the collectionview that has a footer, it seems that the item resizing (due to a change in a property) causes the item to overlap the footer. When doing a pulltorefresh, the situation is corrected

@albyrock87

![Image](https://github.com/user-attachments/assets/23cb1e60-28bd-4ec9-a35f-1ef5b071531e)

![Image](https://github.com/user-attachments/assets/40860690-d125-4ada-a459-72761502a4bf)

### Steps to Reproduce

1. execute the project
2. first time, the item and the footer are wrong
3. do a pull to refresh, layout is ok

### Link to public reproduction project repository

https://github.com/acaliaro/MauiCollectionViewV2LayoutProblem

### Version with bug

9.0.60 SR6

### Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

### Last version that worked well

Unknown/Other

### Affected platforms

iOS

### Affected platform versions

_No response_

### Did you find any workaround?

Use V1 handler

### Relevant log output

```shell

```

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.