Skip to content

Fixed scroll to group item on Android + Windows#16704

Merged
Foda merged 9 commits into
mainfrom
foda/ScrollToGroup
Aug 13, 2024
Merged

Fixed scroll to group item on Android + Windows#16704
Foda merged 9 commits into
mainfrom
foda/ScrollToGroup

Conversation

@Foda

@Foda Foda commented Aug 11, 2023

Copy link
Copy Markdown
Contributor

Description of Change

Fixed scrolling to a group via CollectionView.ScrollTo(index, groupIndex) not working on Windows or Android.

Issues Fixed

Fixes #8718

Demo

The demo below shows scrolling to the group letter "N"

groupscroll_win.mp4
groupscroll_droid.mp4

Mike Corsaro added 2 commits August 10, 2023 15:53
Fixed scrolling to a group index not working on Windows
Implemented scroll to group index on Android#8718
@Foda Foda requested a review from a team as a code owner August 11, 2023 17:10
@Foda Foda requested review from jfversluis and rachelkang August 11, 2023 17:10
@Foda Foda added area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android platform/windows t/bug Something isn't working labels Aug 11, 2023
@samhouts samhouts added this to the Under Consideration milestone Aug 14, 2023
@jsuarezruiz

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@samhouts samhouts added the stale Indicates a stale issue/pr and will be closed soon label Sep 11, 2023
@Foda

Foda commented May 2, 2024

Copy link
Copy Markdown
Contributor Author

/rebase

Mike Corsaro and others added 3 commits May 2, 2024 10:46
# Conflicts:
#	src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.cs
@jsuarezruiz jsuarezruiz self-requested a review June 3, 2024 14:50
await Task.Delay(100);

// each group has 10 items, plus the 3 headers
Assert.True(lastVisibleItemIndex == 34);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test is failing on Android API_33:
image

@PureWeen

PureWeen commented Jul 2, 2024

Copy link
Copy Markdown
Member

/rebase

@PureWeen

PureWeen commented Jul 3, 2024

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@Foda Foda requested a review from jsuarezruiz July 8, 2024 18:12
@Foda Foda enabled auto-merge July 12, 2024 21:42
@PureWeen PureWeen removed this from the Under Consideration milestone Aug 2, 2024
@Foda Foda merged commit c891e4f into main Aug 13, 2024
@Foda Foda deleted the foda/ScrollToGroup branch August 13, 2024 20:04
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Aug 27, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.1.24453.9 and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Sep 20, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-collectionview CollectionView, CarouselView, IndicatorView fixed-in-9.0.0-rc.1.24453.9 platform/android platform/windows stale Indicates a stale issue/pr and will be closed soon t/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The ScrollTo method does not carry the element in a grouping

4 participants