Join GitHub today
ListView.ScrollTo doesn't animate on UWP #2048
Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues
ListView.ScrollTo does not animate the scrolling on UWP when animated is set to True. This works correctly on Android.
Steps to Reproduce
The next item in the list will visibly move to the top of the screen
The next item suddenly appears at the top of the screen
I believe this happens on UWP because the Xamarin Form's ListView.ScrollTo method is implemented using the UWP native methodl ScrollIntoView ( List.ScrollIntoView(c, ScrollIntoViewAlignment.Leading); )
I tested the above technique using a custom renderer for the Listview on UWP and it worked (the item animated as expected).
Here is the definition for the UWP ChangeView method:
Issue can also be seen with UI Test Issue2411.cs