Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectionView Header/Footer/EmptyView issues when adding/removing items #11896

Open
tranb3r opened this issue Dec 6, 2022 · 4 comments · May be fixed by #24830
Open

CollectionView Header/Footer/EmptyView issues when adding/removing items #11896

tranb3r opened this issue Dec 6, 2022 · 4 comments · May be fixed by #24830
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@tranb3r
Copy link

tranb3r commented Dec 6, 2022

Description

An Android, in a CollectionView which defines Header/Footer/EmptyView, I'm facing a lot of issues when adding/removing items.

  • the footer is not always shown, it appears only for one in two added items
  • when the last item is removed from the source, the header becomes blank and the footer moves to the bottom of the page
  • after that, when adding/removing items, the footer does not appears anymore, unless the itemslist becomes empty again

There are also issues on iOS, not exactly the same though...

Steps to Reproduce

  1. Create a maui app with a collectionview
  2. Define header/footer/emptyview (and itemtemplate)
  3. Add/Remove items from the source and observe what happens, especially for header and footer

Link to public reproduction project repository

repro
Launch app ; click on button to add a few items ; click on button to remove items until list is empty.

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

Latest

Did you find any workaround?

No workaround

Relevant log output

No response

@tranb3r tranb3r added the t/bug Something isn't working label Dec 6, 2022
@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Dec 6, 2022
@PureWeen PureWeen added this to the Backlog milestone Dec 6, 2022
@ghost
Copy link

ghost commented Dec 6, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@tranb3r
Copy link
Author

tranb3r commented Feb 15, 2023

Similar to #8761

@jinxinjuan jinxinjuan added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jul 18, 2023
@jinxinjuan
Copy link

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 3.0(net8). Can repro on Android platform with sample project. Issues/MauiAppCollectionViewHeaderOrEmpty at main · tranb3r/Issues (github.com)

@tranb3r
Copy link
Author

tranb3r commented Feb 20, 2024

Is this going to be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
5 participants