KEMBAR78
[.NET10]I9-Scroll mode "KeepLastItemInView" does not keep the last item at the end of the displayed list when adding new items. · Issue #28716 · dotnet/maui · GitHub
Skip to content

[.NET10]I9-Scroll mode "KeepLastItemInView" does not keep the last item at the end of the displayed list when adding new items. #28716

@Zhanglirong-Winnie

Description

@Zhanglirong-Winnie

Description

I9-Scroll mode "KeepLastItemInView" does not keep the last item at the end of the displayed list when adding new items.

Affected case:
I9 -Control scroll position when new items are added.

Steps to Reproduce

  1. Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests on Mac/iOS platform.
  2. Click I9_Scrolling -> Scroll mode when adding items
  3. Set UpdatingScrollMode to KeepLastItemInView

Actual Behavior:
Scroll mode "KeepLastItemInView" does not keep the last item at the end of the displayed list when adding new items.
Maccatalyst:
Image
iOS:
Image

Expected Behavior:
The last item was kept in the list displayed when new items are added.
Image

Link to public reproduction project repository

https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests

Version with bug

10.0.0-preview.3.25176.18

Is this a regression from previous behavior?

Yes, this is a regression. The issue cannot be repro on 10.0.0-preview.2.25153.5 & 9.0.50 & 9.0.40 & 9.0.0 & 8.0.100.

Affected platforms

iOS, macOS

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewcsi-newi/regressionThis issue described a confirmed regression on a currently supported versionplatform/iosplatform/macosmacOS / Mac Catalystt/bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions