Open
Description
Description
The ListView.ScrollTo method fails to correctly scroll the selected item to the center or end of the ListView on the Windows platform. Instead, the scroll position always remains at the start and does not align the SelectedItem with the center or end of the list when using without animation.
Issue is related to 26857
ListviewWithoutAnimation.mp4
Steps to Reproduce
- Run the attached sample project on Windows.
- Select any item from the ListView.
- Alternatively, use the "Up" and "Down" buttons to change the SelectedItem in the ListView.
- Observe that the scroll position always remains at the start, regardless of the ScrollToPosition set.
Sample
ListViewSample 2.zip
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.22621.0
Did you find any workaround?
No response