I am trying to implement PullToRefresh functionality with a Xamarin.Forms.ScrollView component as the PullableContent.
While it mostly works, it gets confused between the ScrollView and the PullToRefresh. A quick flick down triggers the PullToRefresh while a slower press and pull down tends to trigger the ScrollView mechanism.
JNJayaleshwari N Syncfusion Team December 3, 2018 06:06 AM
Thanks for contacting Syncfusion Support.
We have checked the reported issue “when pulling is performed with a slower press, pull to refresh does not occur when ScrollView is added as the PullableContent” from our side. Unfortunately the reported issue does not reproduced at our end. We have prepared the sample based on the information provided by loading ScrollView as the pullable content. We have attached the tested sample for your reference and you can download the same from the following location.
Could you please check with above sample whether the reported issue replicate in our sample also.? If not, we would request you to modify the attached sample or could you please share the following details which would be better to provide appropriate solution.
Properties that set to the SfPullToRefresh.
Content loaded in ScrollView
Platform and device details.
Replication procedure to reproduce the issue.
AEAndrew ElliottDecember 4, 2018 10:32 AM
Thank you for your sample application. In my testing this works perfectly. However I have done further investigation and have found that this issue happens seemingly randomly when I have a main page that has a SfPullToRefresh control with a SfListView as the PullableContent. When an item is tapped in the SfListView, it takes me to a details page which has a SfPullToRefresh which has the ScrollView as the PullableContent. The PullToRefresh component will sometime not work at all on the detail page.
The issue seems to depend on what position the main pages list view is when the detail page is opened. I have put together a sample application to demonstrate the issue.
Sequence to show issue>
Scroll so Book 8 is in the middle of the page and tap it.
Pull to refresh is working on detail page.
Scroll to Book 17 is at the bottom of the screen but visible and tap it.
Pull to refresh doesn't work.
None of the other pages will work until the main page pull to refresh is triggered.
Please let me know if you have any questions on this sample.
JNJayaleshwari N Syncfusion Team December 5, 2018 04:59 AM
Thanks for the update.
We have checked your query and attached sample. We are able to reproduce the reported “Pulling not occurs when scroll the SfListview and navigate to next page” issue. We have logged the issue report for the same. we will fix the issue and it will be included in our upcoming 2018 Volume 4 SP 1 release which is scheduled to be rolled out by the end of January, 2019. We appreciate your patience until then. Please let us know if you would require patch before the release.
AEAndrew ElliottDecember 5, 2018 05:18 AM
Thanks for the prompt response. Would it be possible to come up with some workaround or patch before then? We are hoping to release our application sometime in early January so would ideally need this fixed before then.
JNJayaleshwari N Syncfusion Team December 5, 2018 05:56 AM
Thanks for the update. We will provide the fix for the reported issue on or before December 26, 2018. We appreciate your patience until then.
AEAndrew ElliottJanuary 10, 2019 06:36 AM
Just wondering if this issue has been fixed and released yet? I updated the sample/demo app with 22.214.171.124 version but that still has the same issue.
JNJayaleshwari N Syncfusion Team January 11, 2019 07:19 AM
Thanks for your patience.
We have fixed the issue “ “Pulling not occurs when scroll the SfListview and navigate to next page”. We have generated the custom assemblies with SfPullToRefresh v126.96.36.199 and attached it in the below location. The fix for the issue will be included in 2018 Volume 4 SP1 release which is expected to be rolled out by first week of February 2019.