Scrolling programmatically smooth to an item
Opened this issue · 0 comments
AlleSchonWeg commented
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.