Skip to content

Performance issue with CollectionView when using spacing #30979

@standamikes

Description

@standamikes

Description

When using Spacing for LinearItemsLayout or GridItemsLayout the scrolling experience is acting funny even though the inside of DataTemplate is simple. When you remove spacing it scrolls smoothly. Try it in the attached repo. When you start scrolling on Android it doesn't smoothly scroll until it stops slowly but it somehow stops randomly.

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/standamikes/CollectionViewIssuesMaui

Version with bug

9.0.90 SR9

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions