This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 41600 - ListView.ScrollTo does not behave as per documentation on UWP
Summary: ListView.ScrollTo does not behave as per documentation on UWP
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.2.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-06-08 15:06 UTC by John Hardman
Modified: 2017-02-17 10:50 UTC (History)
5 users (show)

See Also:
Tags: Xamarin.Forms UWP ListView ScrollTo Exception ac Windows
Is this bug a regression?: ---
Last known good build:


Description John Hardman 2016-06-08 15:06:22 UTC
In the Xamarin.Forms documentation at

it says:

ArgumentException	position contains an invalid value for ScrollToPosition.

Whilst this exception is thrown on Android, it is not thrown on UWP, giving the impression that things are working even though there is an issue in the application code. The UWP implementation should throw the exception as per the documentation.

This is using Xamarin.Forms

To reproduce, just pass a duff value for the first argument in
public Void ScrollTo (Object item, ScrollToPosition position, Boolean animated)
Comment 1 E.Z. Hart 2016-07-08 22:03:57 UTC
Confirmed still occurring in
Comment 2 Rui Marinho 2017-02-17 10:50:51 UTC
Should be fixed in 2.3.5-pre1

Note You need to log in before you can comment on or make changes to this bug.