SfButton doesn't show ripple effect on iOS

Hello team,

I am just testing capabilities of your Xamarin.Forms control and I run into this problem. Using SfButton as a parent of my button control works pretty good on Android and UWP, but on iOS a ripple effect is not displayed. Can you please take a look what I did wrong?

There is a test app in attached .zip file

Thanks,

Peter


Attachment: SyncfusionButtonTestApp_2f91f9e2.zip

3 Replies

GM Gayathri Manickam Syncfusion Team January 18, 2022 03:24 PM UTC

Hi Peter,  
We have analyzed your query and we would like to let you know that ripple effect for SfButton in iOS is only enable when we set Visual as Material as per the below code snippet.  
 
public class Button : SfButton 
... 
   public Button() 
     
            Padding = 0; 
            Visual = VisualMarker.Material; 
            ... 
     
 
Please find the modified sample below and let us know if you have any other queries.  
 
 
Regards,  
Gayathri M 



PK Peter Kis January 19, 2022 03:23 PM UTC

Hi  Gayathri,

thank you for your response. Setting Visual to Material value helped, so everything is working now perfectly.

Thanks,

Regards,

Peter



ME Manivannan Elangovan Syncfusion Team January 20, 2022 08:57 AM UTC

Hi Peter,


We are glad to know that the issue has been resolved. Please let us know if you need any further assistance.


Thanks,

Manivannan E


Loader.
Up arrow icon