We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be4861 commit ce189d0Copy full SHA for ce189d0
1 file changed
src/Controls/src/Core/Handlers/Items/CarouselViewHandler.Windows.cs
@@ -361,6 +361,9 @@ void UpdateInitialPosition()
361
362
if (ListViewBase.Items.Count > 0)
363
{
364
+ // Loop centering is no longer needed here: UpdateCurrentItem and UpdatePosition
365
+ // now use _lastScrolledToPosition to guard against re-entry and scroll to the
366
+ // correct centered position programmatically, making the explicit CenterMode block redundant.
367
if (ItemsView.CurrentItem != null)
368
UpdateCurrentItem();
369
else
0 commit comments