Error when double swiping the rotator

I use the SfRotator to simulate a Wizzard I have Validation everytime someone tries to Swipe from one View to the other. The problem is that if someone swipes it 2 times fast then the SfRotator allows it which results in skipping a page but also blocks completely after that. 
Is there any way to block double swipe?

3 Replies

VA Vinnalan Aravazhi Syncfusion Team May 14, 2018 05:01 AM UTC

Hi Ioannis,

Thanks for contacting Syncfusion support.

We have checked the reported issue "Error when double swiping the rotator" from our side and could you please confirm that the animation is not available when swiping the SfRotator items fast on Android is the reported issue. We have attached the sample in which we have checked the reported issue from our side. Please find the sample and video from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/137513/ze/RotatorSample420667752 

It will help us to provide appropriate solution for this. Please let us know if your requirement differs.

Regards,
Vinnalan K A.
 



IO Ioannis May 14, 2018 09:39 AM UTC

Let me explain you the issue in more details because I think that the mistake lays somewhere else. 

I have validation on whether I will allow the user to swipe to the next page. To do that I use the event handler OnSelectedIndexChanged that you have and if the validation fails I call the following method: 

rotator.SetValue(SfRotator.SelectedIndexProperty, rotator.SelectedIndex - 1);

This works perfectly when I just scroll once to the next page. It fails though if I scroll fast many times.


VA Vinnalan Aravazhi Syncfusion Team May 15, 2018 09:02 AM UTC

Hi Ioannis,

Thanks for the update.

We still did not get the clarity about the reported issue "Error when double swiping the rotator" and we need more information for analysis. So, could you please provide the below mentioned details

1) Video representation of the reported issue.

2) Modified sample which reproduces the reported issue

It will help us to provide appropriate solution for this.

Regards,
Vinnalan K A.

Loader.
Up arrow icon