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

[MAUI] ListView rendering issues when binding the IsVisible property. #25221

Open
samhouts opened this issue Oct 11, 2024 · 0 comments
Open

[MAUI] ListView rendering issues when binding the IsVisible property. #25221

samhouts opened this issue Oct 11, 2024 · 0 comments
Labels
area-controls-listview ListView and TableView partner/cat 😻 this is an issue that impacts one of our partners or a customer our advisory team is engaged with platform/android 🤖 t/bug Something isn't working

Comments

@samhouts
Copy link
Member

Description

Items being replaced (removed and re-added) to a bound observable collection do not render completely after being added when the IsVisible property is changed via a binding. 

Expected vs actual:


ImageImage
Steps to Reproduce

  1. Open attached test project
  2. Deploy to Android emulator (tested on API 34)
  3. ListView starts invisible.
  4. Items will be added on a timer every 5 seconds. 
  5. Watch console output for items count and observe the ListView.
  6. It should become visible and the first item render completely in 5 seconds.
Expected result:
Every item added to the ObservableCollection will render completely in the ListView and remain visible unless removed. 

Actual Result:
Only the yellow box shows on the newly added item. If you scroll the ListView manually, the ListView then renders correctly, but the next added item will again be just a yellow box and no more items will appear until ListView scrolled.  

Link to public reproduction project repositorySee attached
Version with bug

8.0.21 SR4

Affected platforms

Android

Please provide the version numbers of the platforms you see this issue on.

Tested on API 34

Did you find any workaround?

Yes, don't use the binding and instead update the IsVisible property directly from the code behind.



View on AzDO

@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Oct 11, 2024
@samhouts samhouts added t/bug Something isn't working area-controls-listview ListView and TableView partner/cat 😻 this is an issue that impacts one of our partners or a customer our advisory team is engaged with platform/android 🤖 and removed s/triaged Issue has been reviewed labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-listview ListView and TableView partner/cat 😻 this is an issue that impacts one of our partners or a customer our advisory team is engaged with platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant