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

[Android] Listview Header content disappears while scrolling #12312

Closed
liveinvarun opened this issue Dec 28, 2022 · 4 comments · Fixed by #13712
Closed

[Android] Listview Header content disappears while scrolling #12312

liveinvarun opened this issue Dec 28, 2022 · 4 comments · Fixed by #13712
Labels
area-controls-listview ListView and TableView fixed-in-7.0.92 Look for this fix in 7.0.92! fixed-in-7.0.100 fixed-in-7.0.101 fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/android 🤖 t/bug Something isn't working

Comments

@liveinvarun
Copy link

Description

Normal Listview with multiple items the header content disappears when scrolled.
NET 6 Latest -> Android

Steps to Reproduce

testsample.zip

Link to public reproduction project repository

test sample attached

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

VS2022 preview

Did you find any workaround?

No workaround.

Not sure how basic functionality like header is broken in MAUI. :(

Relevant log output

No response

@liveinvarun liveinvarun added the t/bug Something isn't working label Dec 28, 2022
@Eilon Eilon added the area-controls-listview ListView and TableView label Dec 28, 2022
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jan 9, 2023
@ghost
Copy link

ghost commented Jan 9, 2023

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.

@bilelmnasser
Copy link

HI everyone,
Same problem, the header always disappears when scrolling the list view

@artyomszasa
Copy link

Same issue here, using .NET 7 (7.0.2).
Have you found any solution?

@ooikengsiang
Copy link
Contributor

Same thing happen to ListView Footer as well.

ooikengsiang added a commit to ooikengsiang/maui that referenced this issue Mar 6, 2023
Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.
hartez pushed a commit that referenced this issue Mar 16, 2023
* Fix Android ListView header / footer gone (#12312)

Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.

* Fix OnLayout calculation after review

Fix OnLayout calculation that caused header / footer gone missing.

* Add back removed null check

Add back removed null check
@samhouts samhouts modified the milestones: Backlog, .NET 8 Planning Mar 17, 2023
github-actions bot pushed a commit that referenced this issue Mar 23, 2023
Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.
PureWeen pushed a commit that referenced this issue Mar 23, 2023
* Fix Android ListView header / footer gone (#12312)

Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.

* Fix OnLayout calculation after review

Fix OnLayout calculation that caused header / footer gone missing.

* Add back removed null check

Add back removed null check

---------

Co-authored-by: Ooi Keng Siang <ooiks@live.com>
@samhouts samhouts added the fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! label Apr 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2023
@samhouts samhouts added the fixed-in-7.0.92 Look for this fix in 7.0.92! label Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-listview ListView and TableView fixed-in-7.0.92 Look for this fix in 7.0.92! fixed-in-7.0.100 fixed-in-7.0.101 fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants