maui icon indicating copy to clipboard operation
maui copied to clipboard

[iOS] [MacCatalyst] CollectionView renders large empty space at bottom of view

Open rachelkang opened this issue 10 months ago • 3 comments

Description

Scrolling to the bottom of a CollectionView reveals a large empty space:

image

Steps to Reproduce

  1. Run recipeSearch repo on rc2
  2. Deploy to iPhone 14 Pro Max simulator
  3. Click on "Breakfast" button
  4. Scroll to the bottom of the CollectionView

I have seen this issue in the past, and think it may? have been fixed. If it was fixed, then this is a regression, because I'm seeing it again. Needs to be validated.

Link to public reproduction project repository

https://github.com/rachelkang/recipeSearch

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, MacCatalyst

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

rachelkang avatar Oct 03 '23 13:10 rachelkang

reproducible also in net7 (7.0.306)

rachelkang avatar Oct 04 '23 18:10 rachelkang

I believe this is due to VerticalItemSpacing If you remove it, the space goes away. It's most likely similar to what this user saw, https://github.com/dotnet/maui/issues/7620

We couldn't reproduce it then, so many it was "fixed" and regressed?

drasticactions avatar Oct 05 '23 08:10 drasticactions

Verified this on Visual Studio Enterprise 17.9.0 Preview 1(8.0.3). Repro on iOS 17.0 and MacCatalyst, not repro on Windows 11 and Android 14.0-API34 with below Project: WhatToEat.zip

XamlTest avatar Dec 12 '23 06:12 XamlTest