Skip to content

[Android] ItemsUpdatingScrollMode in CarouselView Not Working as expected  #29415

@NafeelaNazhir

Description

@NafeelaNazhir

Description

The ItemsUpdatingScrollMode property of the CarouselView is not functioning as expected on Android.
KeepScrollOffset: The scroll offset is not maintained when items are added.
KeepItemsInView: Newly added items are not in View
KeepLastItemInView: The last item in the CarouselView is not kept in view when the items are added.

Screen.Recording.2025-05-09.at.3.31.30.PM.mov

Steps to Reproduce

  1. Run the Application CarouselViewIssue 10.zip
  2. Set the ItemsUpdatingScrollMode property:
  • KeepScrollOffset

  • KeepItemsInView

  • KeepLastItemInView

  1. Observe these properties behavior.

Expected Behavior
KeepScrollOffset: The scroll position should remain unchanged after the items are added
KeepItemsInView: It keeps the first item in the list displayed when new items are added.
KeepLastItemInView: The last item in the CarouselView should remain in view after the items are added.

Actual Behavior
KeepScrollOffset: The scroll position changed after the items are added
KeepItemsInView: New added items are not in View.
KeepLastItemInView: The last item is not kept in view .

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

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
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions