File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
src/Controls/tests/DeviceTests/Elements/CollectionView Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -321,13 +321,6 @@ Rect GetCollectionViewCellBounds(IView cellContent)
321321 }
322322
323323 // Regression test for https://github.com/dotnet/maui/issues/34635
324- // PR #33908 changed RespondsToSafeArea() to exclude UICollectionView from the
325- // UIScrollView descendant check, allowing CV cell content views to respond to
326- // safe area. This caused Window.SafeAreaInsets (title bar ~41px on macOS) to be
327- // applied to every cell, shifting content by 41px.
328- // The fix ensures CV cell content views are treated as UIScrollView descendants
329- // (since UICollectionView inherits from UIScrollView), so they do NOT respond
330- // to safe area independently.
331324 [ Fact ( "CollectionView cell MauiViews should be treated as UIScrollView descendants and not apply safe area independently" ) ]
332325 [ Category ( TestCategory . CollectionView ) ]
333326 public async Task CollectionViewCellContentShouldBeScrollViewDescendant ( )
You can’t perform that action at this time.
0 commit comments