-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Custom CollectionView footer disappears when adding items #8761
Comments
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. |
I'm also having this issue. |
Verified this issue with Visual Studio Enterprise 17.6.0 Preview 7.0. Repro on android platform with project. |
To fix this problem, you need to add this code after adding a new item: (collection.Footer, collection.Footer) = (null, collection.Footer); or object footer = collection.Footer;
collection.Footer = null;
collection.Footer = footer; |
Is this going to be fixed? |
The workaround now seems to cause an undesired scrolling of the collectionview. |
As mentionned in #20666 , the footer only disappears when the collectionview happens to have an even number of items, I was able to reproduce it as well on Visual Studio Community 2022 - 17.9.5 |
I have the same issue with MAUI 8.0.40 and VS 17.10.0. It seems that #20666 is a duplicate. The workaround works for me, but it is quite unfortunate that almost for two years this remains not fixed. |
Duplicate of #20666 |
Description
When items are added to a collection view using a custom view as its footer, the footer sometimes disappears. When more items are added, it reappears.
I was able to reproduce this bug on Android (emulator), not on Windows. Other platforms were not tested.
Android.Emulator.-.pixel_5_-_api_31_5554.2022-07-15.15-32-49.mp4
Steps to Reproduce
Expected behavior: The footer remains visible when new items are added
Actual behavior: The footer sometimes disappears
Version with bug
6.0.408 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: