We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Odd behavior on iOS with ScrollToPosition.Center

Hi,

we are seeing an odd behavior of SfListView.ScrollTo() on iOS.

What we like to achieve is, that the list view is scrolled to the currently selected item. If this item is e.g. the first of the list and we use ScrollToPosition.Center, the first item is indeed centered in the list view - what is somewhat unexpected.



One would expect the list view having the first item nevertheless at the top, as this is with Android.



Using ScrollToPosition.MakeVisible does not yield this behavior, but we would prefer .Center for our scenario.

Please find attached a small sample to reproduce this.

I consider this a bug. Or am I doing something wrong?

Regards, Ulrich

Attachment: App1_37be5fa1.zip

4 Replies

DB Dinesh Babu Yadav Syncfusion Team April 26, 2019 01:24 PM UTC

Hi Ulrich, 
 
Thanks for using Syncfusion support. 
 
We have confirmed that reported issue is the defect in SfListView and logged a defect report for the reported bug. The fix will be included in out upcoming 2019 Vol 1 SP 1 release which is scheduled to be rolled out at the mid of May, 2019. We will appreciate your patience until then.   
 
You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.    
 
 
Regards, 
Dinesh Babu Yadav 
 



UN Unknown Syncfusion Team April 29, 2019 06:59 AM UTC

Hi Dinesh Babu Yadav,

thank you very much!

Regards, Ulrich


DB Dinesh Babu Yadav Syncfusion Team April 30, 2019 03:41 AM UTC

Hi Ulrich, 
 
Thanks for the update. We will let you know once the issue has been resolved at our end and will appreciate your patience until then. 
 
Regards, 
Dinesh Babu Yadav 



DB Dinesh Babu Yadav Syncfusion Team May 15, 2019 09:50 AM UTC

Hi Ulrich, 
 
We are glad to announce that fix for the reported issue that “In iOS, Blank space issue occurs at top while scrolling first item with ScrollToPosition as Center” is included in our Volume 1 SP1 Release v17.1.0.47 which is rolled out and now available for download under the following link.  
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
 
Regards, 
Dinesh Babu Yadav 


Loader.
Live Chat Icon For mobile
Up arrow icon