Skip to content

The ScrollTo method does not carry the element in a grouping #8718

Description

@hprez21

Description

When a CollectionView is populated with grouped data, the ScrollTo method does not lead to the item indicated by the parameters.

When I invoke the method through:

     private void Button_Clicked(object sender, EventArgs e)
     {
          collectionView.ScrollTo(0, 4);
     }

hu3w1AZFwY

it is supposed to navigate to the first element of the fourth group, however, in the attached gif, you can see how nothing happens when you click on the button and the listing is on the first element, while when you scroll to the end of the listing, and press the button, it does not lead to the element it should be.

Attached is the project in Github: https://github.com/hprez21/CollectionViewScrollToIssue

Steps to Reproduce

1.- Download the Github repo
2.- Run the application, and test the button with the text "Manual Scrolling".

Version with bug

6.0.400 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows, I was not able test on other platforms

Affected platform versions

Android 10, Windows 10

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions