maui
maui copied to clipboard
CollectionView Header/Footer/EmptyView issues when adding/removing items
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
- Create a maui app with a collectionview
- Define header/footer/emptyview (and itemtemplate)
- 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
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.
Similar to #8761
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)
Is this going to be fixed?