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

Manage effect and tap gesture on same view

Hello,

I have different views such as frames or layouts where I previously managed the TapGestureRecognizer in order to navigate to another Page. Now I want to add some ripple effect to these views but if I set the effect then the tap gesture is ignored. How can I manage both actions for same view?

Thank you.

4 Replies

DA Daniel October 8, 2019 03:03 AM

I've found a workaround by handling the AnimationCompleted event over the SfEffectsView. Is there another possibility?

Workaround:

mySfEffectsView.AnimationCompleted += (sender, e) => {

     Navigation.PushAsync(new CustomPage());

};

Thanks.


LR Lakshmi Radha Krishnan Syncfusion Team October 9, 2019 05:18 AM


Hi Daniel,

The issue you have mentioned is a known limitation. You can overcome this issue by using the workaround you have mentioned.

Regards,
Lakshmi R.


CB Conor Breen March 26, 2020 01:59 AM

For benefit of anyone else who stumbles upon this thread - see updated answer here https://www.syncfusion.com/forums/148695/sfeffectsview-and-touch-events


DD Devakumar Dhanapoosanam Syncfusion Team March 27, 2020 04:29 AM

Hi Conor Breen, 
 
Please follow up the further updates in the following forum https://www.syncfusion.com/forums/148695/sfeffectsview-and-touch-events 
 
Regards, 
Devakumar D 


Loader.
Live Chat Icon For mobile
Up arrow icon