Bug 24179 - ListView.ScrollTo does not work as expected on Windows Phone
Summary: ListView.ScrollTo does not work as expected on Windows Phone
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.0
Hardware: PC Windows
: --- normal
Target Milestone: 1.3.5
Assignee: Bugzilla
Depends on:
Reported: 2014-10-30 19:27 UTC by Mitch Milam
Modified: 2015-02-18 05:43 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Full sample showing behavior (4.60 MB, application/octet-stream)
2014-10-30 19:29 UTC, Mitch Milam

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mitch Milam 2014-10-30 19:27:42 UTC
In Windows Phone, the follow code does not seem to work at all:

buttonAdd.Clicked += (sender, e) =>
    var person = new Person(string.Format("Name {0}", Count++), DateTime.Today, Color.Blue);


    listView.ScrollTo(person, ScrollToPosition.End, true);


It should reposition the ListView so that the newly-added item is at the bottom of the screen.

It works as expected on iOS and Android but does not seem to work at all on WP.

1. Launch the app.
2. Click the add button enough times so that the entire list is populated, past the height of the screen.  
3. On iOS and Android, the ListView will scroll each time a new item is added. On WP, nothing moves.
Comment 1 Mitch Milam 2014-10-30 19:29:45 UTC
Created attachment 8568 [details]
Full sample showing behavior
Comment 2 Jason Smith [MSFT] 2015-02-13 15:53:55 UTC
Should be fixed in 1.3.5-pre1
Comment 3 Ram Chandra 2015-02-18 05:43:45 UTC
I have checked this issue with following builds:


Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641
Installed Version: Professional
Xamarin (d66d164)
Xamarin.Android (49a04b966feb40dfdba49d57ba16249b66d606a6)
Xamarin.iOS (3b3ef438017c7ecf486defa9e01567a5f2b3cb2a)

Observations: When I click the add button to add the item to the list, I observed that now the ListView will scroll each time a new item is added on windows phone.

Screencast: http://www.screencast.com/t/yeBmxvgidog

This issue has been fixed. Hence I am closing this issue.