maui icon indicating copy to clipboard operation
maui copied to clipboard

MAUI NET 8 RC-2 : CollectionView and ListView items missing or wrong

Open SamuelJames101 opened this issue 2 years ago • 11 comments
trafficstars

Description

ListView items are disappearing and CollectionView items are swapping places.

I have raised them together due to similarites but can raise as separate if needed.

Steps to Reproduce

ListView issue, This is very easy to replicate and can be seen within 30 seconds

  1. Create a list View
  2. Add data of varying sizes
  3. Scroll

Expected Result All list items are responsive and seen. Actual Result Sometimes listView items disappear and come back when scrolled away and back to.

CollectionView issue, This is harder to replicate and may only be seen every now and then but I have still noticed it multiple times

  1. Create a collectionView
  2. Add data of varying sizes
  3. Scroll

Expected Result All collection items are responsive and seen. Actual Result Sometimes collectionView items appear as other items further up in the list and return back to their true state when scrolled away and back to.

(CollectionView Video) https://github.com/dotnet/maui/assets/44027336/8403619f-0361-49fe-aa35-4ae65991c97b

(ListView Video) https://github.com/dotnet/maui/assets/44027336/1d164c92-2093-4a6b-806e-cf1eaf52bf8c

Link to public reproduction project repository

https://github.com/SamuelJames101/collectionViewListViewIssue

Version with bug

8.0.0-rc.2.9373

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, I was not able test on other platforms

Affected platform versions

iOS 13

Did you find any workaround?

No response

Relevant log output

No response

SamuelJames101 avatar Nov 02 '23 08:11 SamuelJames101

Any update on this? As this is critical for our team

SamuelJames101 avatar Nov 07 '23 09:11 SamuelJames101

@jsuarezruiz Any update still an issue as this is very critical for our team?

SamuelJames101 avatar Dec 18 '23 10:12 SamuelJames101

Items are disappearing and appearing in ListView on Android as well. Dotnet Maui 8

OlegRakovich avatar Feb 27 '24 06:02 OlegRakovich

@jsuarezruiz I have noticed this has an iOS tag but I now see this issue mostly on Windows.

SamuelJames101 avatar Mar 21 '24 09:03 SamuelJames101

Verified this issue with Visual Studio 17.10.0 Preview 3 (8.0.20). Can not repro it with sample project.

kevinxufei avatar Apr 12 '24 09:04 kevinxufei

With the nightly build It seems to be working now on windows. Don't see the issue on iOS or Mac with the service release either.

SamuelJames101 avatar Apr 12 '24 09:04 SamuelJames101

still reproduciable in our demo, see attached video

Uploading Screen Recording 2024-04-23 at 22.02.44.mov…

PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.20" PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0"

ewoody avatar Apr 23 '24 20:04 ewoody

@ewoody What platform are you seeing this on? ListViews or CollectionViews? And I can't see the video you have uploaded. Thanks

SamuelJames101 avatar Apr 24 '24 10:04 SamuelJames101

TestListView.zip ios and android. listview listview.webm

ewoody avatar Apr 24 '24 11:04 ewoody

I would try a collectionView, ListViews were too broken for me to even use

SamuelJames101 avatar Apr 24 '24 12:04 SamuelJames101

This issue has been verified for Visual Studio 17.10.0 Preview 6 (8.0.21/8.0.7). It can be reproduced.

TestListView.zip

kevinxufei avatar May 07 '24 08:05 kevinxufei