Xamarin.forms: [Bug] [iOS] Grouped CollectionView layout broken when item spacing used

Created on 5 Jun 2020  路  6Comments  路  Source: xamarin/Xamarin.Forms

Description

Grouped CollectionView layout is broken on iOS when item spacing is used.
This is a regression in XF 4.5 and above.

Steps to Reproduce

  1. Run the attached project.
  2. Observe the incorrect layout.

Expected Behavior

Layout should be split into two columns since Span = 2.

Actual Behavior

Layout is a single column which is horizontally centered.

Basic Information

  • Version with issue: 4.5.0356 (and above)
  • Last known good version: 4.4.0.991864 (and below)
  • Affected Devices: iOS

Screenshots

4.4.0.991864 and below (Good)
4 4 0 991864

4.5.0356 and above (Bad)
4 5 0 356 and above

Reproduction Link


CollectionViewBug-4.4.0.991864.zip

CollectionViewBug-4.6.0.847.zip

Workaround

Don't use HorizontalItemSpacing or VerticalItemSpacing with a grouped layout.

4.5.0 collectionview layout 3 regression high impact iOS 馃崕 bug

Most helpful comment

Sorry for the delay. This one didn't get labeled properly. We'll make sure it's prioritized. Thanks for your patience!

All 6 comments

@hartez We appreciate the focus of the XF team on fixing these CollectionView issues.
This is our only outstanding issue and is a critical regression right now affecting all iOS levels.

Glad to see some activity on this one. We鈥檙e blocked on this because we need to take the upgrade.

Hi @hartez, this is currently a severe blocker for us. Was just wondering if this is on the roadmap for resolution in XF 4.7-sr2? Unfortunately this is a bad regression for us. Thanks!

@hartez I鈥檓 sorry to ask again, but this regression is really hurting us right now and is preventing us moving forward with taking the latest XF updates.

Is there any hope we might see a fix for this in sr3? Thanks so much.

@hartez @jsuarezruiz @pauldipietro Hi XF Team, Sorry to nag, but we really, really need this issue to be fixed. It's a worry that CollectionView is broken for current versions of iOS.

This issue, along with at least three other major problems we have reported, compounded with the extended delay in fixing them, is causing us to rethink our use of the XF product. We have a release that we cannot ship because of these major issues. Please can you give us an indication of when this specific issue will be solved. If we get a response from this message, we will flag the other critical issues too... Thank you for your assistance.

Sorry for the delay. This one didn't get labeled properly. We'll make sure it's prioritized. Thanks for your patience!

Was this page helpful?
0 / 5 - 0 ratings