You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CollectionView does not respect content SafeAreaEdges choices (Regression for Android, different problem in iOS) #33604
The safe Area of Content inside of a CollectionView is not respected differently on both platforms.
Steps to Reproduce
Create a CollectionView with Datatemplate that has the following properties:
You want the the background to stretch to the edges (i.e a Grid with a gray background)
You want the content to respect the notches and system bars (i.e. A header label inside the Grid)
Set the "SafeAreaEdges" edges of your Datatemplate Grid (or whatever has your content) to "Container,None" (usually the CollectionView is protected on the top and bottom).
Turn the phone sideways in landscape mode.
Expected Result: Content Background should fill the screen, Actual Content should respect notches and system bars. Actual Result on Android: The Content fills the screen, ending up behind system bars and notches. Actual Result on iOS: The Background AND the content ends up inside the safe area.
Here's a screenshot of the repo of the desired result. This is on MAUI version 10.0.1. Note the gray backgrounds stretch to fill the screen but the labels (with obnoxious aquimarine backgrounds for testing) stay in the safe area. There's also an extra top and bottom label used for testing to show safe area is working (the container is plum for these... sorry...)
Here's Android on MAUI version 10.0.30
Here's iOS (either version). Note that the gray backgrounds are NOT extending to the edges as desired:
This issue has been validated in Visual Studio code 1.108.1 with MAUI versions 10.0.30, 10.0.20,10.0.10 10.0.0.
Android: The issue has been reproduced from 10.0.10 version Note: For iOS issue reproducible in iOS 26.1 and was not reproducible in iOS 18.0 and 26.0
Activity
HarishKumarSF4517 commentedon Jan 20, 2026
This issue has been validated in Visual Studio code 1.108.1 with MAUI versions 10.0.30, 10.0.20,10.0.10 10.0.0.
Android: The issue has been reproduced from 10.0.10 version
Note: For iOS issue reproducible in iOS 26.1 and was not reproducible in iOS 18.0 and 26.0
Add PR analysis for issue dotnet#33604
[Android/iOS] Fix CollectionView not respecting SafeAreaEdges settings (
[Android/iOS] Fix CollectionView not respecting SafeAreaEdges settings (
[Android/iOS] Fix CollectionView not respecting SafeAreaEdges settings (
[iOS/MacCatalyst] Fix CollectionView cell misalignment regression on …
[Android/iOS] Fix CollectionView not respecting SafeAreaEdges settings (
[iOS/MacCatalyst] Fix CollectionView cell misalignment regression on …
March 30th, Inflight Candidate (#34617)