Embed SfRotator in a RefreshView

Hello,

I encounter an issue when I try to embed a SfRotator in a RefreshView.

For doing this, I've used your UI Kit project and the ArticleListPage page: I've only added a RefreshView before the main ScrollView:

<ContentPage.Content>
    <RefreshView x:DataType="viewModel:ArticleListViewModel"
                 IsRefreshing="{Binding IsRefreshing}"
                 Command="{Binding RefreshCommand}">
        <ScrollView>
            <StackLayout Padding="16" Spacing="16">

In the ViewModel, I've added a new Refresh() method that is related to the RefreshCommand:

private void Refresh()
{
     IsRefreshing = true;
     Task.Delay(500);
     GetData();
     IsRefreshing = false;
}

In the ViewModel, I've also added a new GetData() method that is used by the Refresh() method and by the VM constructor to recover the data:

public void GetData()
{
    this.FeaturedStories = new ObservableCollection<Model>
    {
        new Model
        {
            ImagePath = App.BaseImageUrl + "ArticleImage2.png",
            Name = "Learning to Reset",
            Author = "John Doe",
            Date = "Aug 2010",
            AverageReadingTime = "5 mins read"
        },
                    ...
          }
    this.LatestStories = new ObservableCollection<Model>
    {
        new Model
        {
            ImagePath = App.BaseImageUrl + "Article_image1.png",
            Name = "Learning to Reset",
            Author = "John Doe",
            Date = "Apr 16",
            AverageReadingTime = "5 mins read"
        },
                    ...
          }
}

The behaviour seems to be fine on Android, but I encounter a strange issue on iOS
- if the pull to refresh is done through a scroll started on the LatestStories list, there is no problem
- if the pull to refresh is done through a scroll started on the FeaturedStories list, the SfRotator is no longer visible until an horizontal scroll is done on the SfRotator

We can see this in the related GIF:
 SfRotator and RefrehView issue


Is there a way to fix this?


Attachment: ArticleListChanges_4f6e2735.zip

8 Replies 1 reply marked as answer

RS Ruba Shanmugam Syncfusion Team September 24, 2020 01:04 PM UTC

Hi Pierre-Christophe,

Greetings from Syncfusion.

Currently we are validating the reported issue, we will let you know the complete details on 29th Sep, 2020.

We appreciate your patience, until then.

Regards,
Ruba Shanmugam.



SS Suganya Sethuraman Syncfusion Team September 29, 2020 01:32 PM UTC

Hi Pierre-Christophe,

We have tried to replicate the reported issue at our end, we are afraid that we are not able to reproduce the issue at our end. We have attached sample for your reference.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Refresh_Rotator393675378

Since we are not aware of your exact application scenario, we were not able to reproduce this issue at our end, so can you please provide complete runnable sample. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Suganya Sethuraman.  
 



PD Pierre-Christophe DUS September 29, 2020 05:09 PM UTC

The problem is still present if you reduce the Task.Delay duration in the GetItemsAsync() method.
I've updated your sample when I've tried to reproduce my issue: I've attached the modified archive that will allow you to reproduce the issue.

In my project, I don't use a Task.Delay, I call an API: but the result is the same.

Attachment: Archive_df45b617.zip


SS Suganya Sethuraman Syncfusion Team September 30, 2020 01:46 PM UTC

Hi Pierre-Christophe,

We were able to reproduce the issue. We are analyzing the root cause of an issue and we will update the details on October 5th, 2020. We appreciate your patience until then.

Regards,
Suganya Sethuraman. 
 



SS Suganya Sethuraman Syncfusion Team October 5, 2020 12:17 PM UTC

Hi Pierre-Christophe,

We were able to reproduce the reported issue and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.

Link: https://www.syncfusion.com/feedback/18445  

The provided feedback link is private, and you need to login to view this feedback.

The fix for the reported issue will be available on 13th October, 2020.

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.   
 



SS Suganya Sethuraman Syncfusion Team October 13, 2020 03:33 PM UTC

Hi Pierre-Christophe,

Thank you for your patience.

We have fixed the issue, please find the custom assemblies from below link.

Custom Assemblies: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorAssembly2038867139

Assembly version : 18.3.0.38

Since 18.3.0.38 is a weekly NuGet release, we are not able to generate patch in 18.3.0.38 version. We can generate patch only for Main release and SP1 release versions, so we have provided the custom assemblies in 18.3.0.38.

Disclaimer:
Please note that we have created this for version 18.3.0.38 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Please refer the below link for how to apply custom assemblies.
 
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget

Fix for the reported issue will be included in our upcoming weekly NuGet release, which will be available on October 20, 2020.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team October 21, 2020 05:01 AM UTC

Hi Pierre-Christophe,

Sorry for the delay.

We are facing some technical problem with the reported issue we could not include the fix in our today weekly NuGet release. We assure that we will include the fix in our upcoming weekly NuGet release which will expect on October 27, 2020 without any more delay.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team October 28, 2020 05:51 AM UTC

Hi Pierre-Christophe,

Thank you for your patience.

We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 18.3.0.44 which is available for download (https://www.nuget.org/ ).

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 
 


Marked as answer
Loader.
Up arrow icon