Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed scroll to group item on Android + Windows #16704

Merged
merged 9 commits into from
Aug 13, 2024
Merged

Fixed scroll to group item on Android + Windows #16704

merged 9 commits into from
Aug 13, 2024

Conversation

Foda
Copy link
Member

@Foda Foda commented Aug 11, 2023

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 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
Contributor

/azp run

@azure-pipelines
Copy link

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
Copy link
Member Author

Foda commented May 2, 2024

/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
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
Copy link
Member

PureWeen commented Jul 2, 2024

/rebase

@PureWeen
Copy link
Member

PureWeen commented Jul 3, 2024

/azp run

Copy link

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
47 checks passed
@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