xamarin/Xamarin.Forms

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

Aperta

#4039 aperta il 9 ott 2018

 (4 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
3.0.0e/4 :clock4:help wantedi/regressioninactivep/UWPpartnert/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor