Skip to content

ItemsUpdatingScrollMode on CollectionViewHandler2 #31085

@FlavioGoncalves-Cayas

Description

@FlavioGoncalves-Cayas

Description

ItemsUpdatingScrollMode is not working properly.
Might be because of this in the Handler?

public static void MapItemsUpdatingScrollMode(ItemsViewHandler2<TItemsView> handler, ItemsView itemsView)
		
{
			// TODO: Fix handler._layout.ItemsUpdatingScrollMode = itemsView.ItemsUpdatingScrollMode;
}

I am glad that CollectionView2 is finally working properly. This is currently the last thing that is making issues as I am trying to implement upward infinite scrolling in my application. Whenever I insert items at the top, the CollectionView always stays at the top. I want the user to have to scroll up to see the newly added items.

Any suggestions on how to implement this?

Steps to Reproduce

  1. Create new MAUI App with CollectionView
  2. Scroll to the top
  3. Insert multiple items at 0
  4. CollectionVIew is always scrolled to top regardless of ItemsUpdatingScrollMode

Link to public reproduction project repository

No response

Version with bug

9.0.90 SR9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 18

Did you find any workaround?

Nope

Relevant log output

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewcollectionview-cv2i/regressionThis issue described a confirmed regression on a currently supported versionplatform/ioss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions