Xamarin.forms: CollectionView footer/header bug on iOS[iOS] [Bug][CollectionView]

Created on 7 Mar 2020  路  4Comments  路  Source: xamarin/Xamarin.Forms

Description

When adding an Entry to the Header or Footer of the Collection View, and then clicking them, the scrolling behaves incorrectly.

I only noticed this problem on iOS

Steps to Reproduce

  1. Run my test project
  2. Open The "IOS Header/Footer Page Bug"
  3. Click all the entries

Reproduction Link

https://github.com/dimonovdd/CollectionViewBug.git

collectionview 5 mobcat iOS 馃崕 bug

Most helpful comment

@samhouts why was this removed from the milestone 5.0.0? this is a very important issue.

All 4 comments

Expanding on @dimonovdd's investigation, when the CollectionView is inside of a RefreshView, adding a CollectionView.Footer will also impact the refresh indicator and the vertical alignment of the CollectionView.

## Reproduction Steps

  1. Download / Clone this repo: https://github.com/brminnick/CollectionViewFooterRefreshViewRepro
  2. In Visual Studio, open CollectionViewFooterRefreshViewRepro.sln
  3. Build / deploy CollectionViewFooterRefreshViewRepro.iOS to an iOS Simulator or Device
  4. On the iOS App, select CollectionView without Footer
  5. On the No Footer page, confirm the Refresh Indicator is visible
  6. On the No Footer page, after the list has finished refreshing, pull-to-refresh on the list
  7. On the No Footer page, confirm the Refresh Indicator is visible
  8. On the No Footer page, click the back button
  9. On the iOS App, select CollectionView with Footer
  10. On the With Footer page, confirm the Refresh Indicator is not visible
  11. On the With Footer page, after the list has finished refreshing, pull-to-refresh on the list
  12. On the With Footer page, confirm the vertical list alignment has shifted above the navigation bar

I didn't pull down your repro, but it sounds like the issue I'm having currently (see gif below). This is just one among many bugs with CollectionView keeping me from using it. Every time I click into the Entry inside the CollectionView header, it pushes the header down until I tap out of the Entry.

cvbug

Any update on this issue?
I have a similar issue where I have a Searchbar inside My CollectionView header, and every time I click it the Collectionview drops down a bit.

@samhouts why was this removed from the milestone 5.0.0? this is a very important issue.

Was this page helpful?
0 / 5 - 0 ratings