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

Scrolling programmatically smooth to an item #29

Open
AlleSchonWeg opened this issue Jun 18, 2021 · 0 comments
Open

Scrolling programmatically smooth to an item #29

AlleSchonWeg opened this issue Jun 18, 2021 · 0 comments

Comments

@AlleSchonWeg
Copy link
Contributor

Is your feature request related to a problem? Please describe.
If the user clicks in the horizontal ListView an item which is not completly visible i want to make the item completly visible.

Describe the solution you'd like
A method like the ScrollToAsync in a ScrollView HorizontalScrollView.ScrollToAsync(item, ScrollToPosition.MakeVisible, false); or like CollectionView: public void ScrollTo (int index, int groupIndex = -1, Xamarin.Forms.ScrollToPosition position = Xamarin.Forms.ScrollToPosition.MakeVisible, bool animate = true);

Describe alternatives you've considered
Setting CurrentIndex. But there is no smooth scrolling and the items "jump".

Additional context

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant