xamarin/Xamarin.Forms

SfListView control breaks due to asynchronous scrolling of ScrollViewRenderer in UWP platform

開放

#4,039 建立於 2018年10月9日

 (4 則留言) (0 個反應) (0 位負責人)C# (1,926 個分叉)batch import
3.0.0e/4 :clock4:help wantedi/regressioninactivep/UWPpartnert/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Hi Team,

Description

We, development team of Syncfusion would like to report a break in our SfListView control. While scrolling through mouse wheel or through programmatic scrolling, the list jumps back and forth in the latest version of Xamarin.Forms. We have found that this is caused due to changing OnScrollToRequested into asynchronous method in UWP ScrollViewRenderer. Can you please provide us a suitable solution to overcome this issue? We have also attached the issue reproducible sample for your reference.

Steps to Reproduce

  1. Run the attached sample in UWP platform.
  2. Click the 'Scroll To End' button.
  3. Check with the scrollbar.

Expected Behavior

The List should scroll smoothly without any lag and should traverse unidirectional without any jumps.

Actual Behavior

Note that the list jumps back and forth multiple times before reaching the end of the list. This behavior is not seen while reverting back to Xamarin.Forms v.2.4.0.

Reproduction Link

Please find the sample link below. Bug.zip

貢獻者指南