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.
Unfortunately, activation email could not send to your email. Please try again.

SfListView: Swipe gesture not working on ios

Thread ID:

Created:

Updated:

Platform:

Replies:

131362 Jul 6,2017 11:06 AM Aug 3,2018 05:19 AM Xamarin.Forms 9
loading
Tags: SfListView
rajveer
Asked On July 6, 2017 11:06 AM

Hello,
I am facing problem with swipe gesture of sfListview. I have implemented Xamarin forms's Master-Detail page for side menu(Navigation Drawer). i have used sfListview for listing data. But sfListview swipe gesture is not working on ios. whenever i swipe on screen side menu is opening but listview swipe is not working. Can you provide working sample of this urgently. 
Thanks

Dinesh Babu Yadav [Syncfusion]
Replied On July 7, 2017 04:44 AM

Hi Rajveer, 
 
Thank you for using Syncfusion Products. 
 
We have checked the reported issue “Swiping is not working when loaded in MasterDetailPage in iOS platform” at our end and we would like to let you know that when SfListView is loaded under MasterDetailPage with AllowSwiping as “true”, we have some limitations in iOS platform which we have mentioned below. 
 
  • In iOS, when swipe suddenly carousel swipe is happened. If want to swipe ListViewItem, touch and hold on a item for some fraction of second (0.25 - 0.5 seconds) and then swipe.
  • When swipe on any Item, SfListView handles the touch and swipe the ListViewItem.
  • After swiped on ListViewItem, SwipeView is loaded along with ListViewItem. Then, if swipe on SwipeView element, Carousel view or MasterDetailPage is swiped. Else, swipe on ListViewItem, SfListView handles touch and swipe the item as usual.
  • If swipe on Header, Footer or Group Header elements, Carousel view or MasterDetailPage is swiped in Android platform. But in UWP, first swipe on those elements will handled by SfListView itself, since unable to pass Manipulation to parent immediately and then second swipe will be listened by Carousel view or MasterDetailPage.
 
Also, we have ensured the same with our sample by enabling the swiping and it works as expected. For your reference, we have attached the sample and you can download it from the below link. 
 
 
Could you please check with the above sample? If the issue still persist at your end, we request you to modify the above sample to reproduce the issue and revert us with the replication procedure or in video link. So, that we could able to analyze the issue better and update you an appropriate solution. 
 
Similarly, we have some limitations when loaded under CarouselView and you can refer the following UG documentation link for more information. 
 
Please let us know if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 



Jeff Bowman
Replied On March 31, 2018 12:18 PM

Hi,

I came across this thread, when looking for a fix where "Swipe on iOS doesn't seem to work', and it appears that the first item in the list where we have to hold the list view item for 0.25 - 0.5 seconds before we can swipe will make it so that swipe does indeed work..

My question is, is there a workaround for this.. because it is very non-intuitive to have a user need to hold before swiping.. and we can't really convey this to them.

Regards,

-Jeff

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On April 2, 2018 02:48 AM

Hi Jeff, 

Unfortunately there is no possible work around available to overcome the reported behavior. When swiping over an list item immediately, the touch will be passed to its parent element and the page gets navigated in case of CarouselPage or MasterDetailPage in iOS platform. So to pass the touch for SfListView item, it has to be hold down for a few milli-seconds to perform swipe operation. 

Regards, 
G.Muthu kumaran. 


Jeff Bowman
Replied On April 5, 2018 10:53 PM

Hi Jeff, 

Unfortunately there is no possible work around available to overcome the reported behavior. When swiping over an list item immediately, the touch will be passed to its parent element and the page gets navigated in case of CarouselPage or MasterDetailPage in iOS platform. So to pass the touch for SfListView item, it has to be hold down for a few milli-seconds to perform swipe operation. 

Regards, 
G.Muthu kumaran. 


Thanks you Muthu,

If I am using a non-master detail page where this is required, can I work around it then?

Regards,

-Jeff

Rawoof Sharief Muthuja Sherif [Syncfusion]
Replied On April 6, 2018 06:23 AM

Hi Jeff, 
 
We would like to let you know that swiping a list view item is working fine in normal case. The limitations of swiping is applicable only for MasterDetailPage and CarouselPage as we have mentioned in the UG documentation please check the below link. 
 
 
We have prepared the simple sample for your reference and you can download it from below link. 
 
 
Please let us know if you require further assistance.     
  
Regards,  
Rawoof M.  
 


Niels Cup
Replied On April 17, 2018 05:49 AM

Hi Jeff, 

Unfortunately there is no possible work around available to overcome the reported behavior. When swiping over an list item immediately, the touch will be passed to its parent element and the page gets navigated in case of CarouselPage or MasterDetailPage in iOS platform. So to pass the touch for SfListView item, it has to be hold down for a few milli-seconds to perform swipe operation. 

Regards, 
G.Muthu kumaran. 


One more limitation that triggers this behaviour, I just encountered, is if you are using PanGestureRecogniser on your page like this:

var panGesture = new PanGestureRecognizer();
panGesture.PanUpdated += PanGesture_PanUpdated;
Content.GestureRecognizers.Add(panGesture);
  

I am not using MasterDetailPage or Carousel. I also thought swiping wasn't working on iOS.
My workaround for this case is to remove the panGesture before showing the page that contains the swipable listview, and add it back again when navigating away:

Content.GestureRecognizers.Remove(panGesture);  

Rawoof Sharief Muthuja Sherif [Syncfusion]
Replied On April 18, 2018 06:00 AM

Hi Niels, 
 
Thanks for your update and we will let you know that the swiping worked as per the limitation of Master Page/Carousel Page in our UG documentation. So, we will consider this also in limitations of swiping in UG documentation., 
 
Regards, 
Rawoof M. 


Maulik Sakhare
Replied On August 2, 2018 09:07 AM

Hi Niels, 
 
Thanks for your update and we will let you know that the swiping worked as per the limitation of Master Page/Carousel Page in our UG documentation. So, we will consider this also in limitations of swiping in UG documentation., 
 
Regards, 
Rawoof M. 


Is this issue fixed now?

Vigneshkumar Ramasamy [Syncfusion]
Replied On August 3, 2018 05:19 AM

Hi Niels 
 
Still we need to analyze furthermore about this requirement, we have not fixed this issue. 
 
We have published the limitations of swiping in our UG documentation, please find the below UG link for more details about limitation of swiping in SfListView control. 
 
 
Regards 
Vigneshkumar R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;