Problem on SfRadioButton on CheckoutPage of Essential UI Kit

The event PaymentOptionClicked is not been fired always. 
In the Page, there is a SfRadioButton inside of one Grid and you putted Grid.GestureRecognizers. Sometimes when click in the grid (or Radio Button) it fires the event, but I can´t see a pattern. Sometimes it works clicking on the button, sometimes on the Grid.
Can you check ?


1 Reply 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team August 24, 2020 12:43 PM UTC

 
Greetings from Syncfusion. 
 
As per your requirement we have modified the checkout page payment view option for radio button click event. Now we have modified the GestureRecognizer from Grid to Radio Button and Horizontal option to start. Please find the below code example for your reference. 
 
Code Snippet: 
 
<buttons:SfRadioButton 
    Grid.Row="0" 
    Margin="8,12,8,0" 
    GroupKey="{StaticResource PaymentOptionGroup}" 
    HorizontalOptions="Start" 
    Style="{StaticResource RadioButtonStyle}" 
    Text="{Binding PaymentMode}" > 
    <buttons:SfRadioButton.GestureRecognizers> 
        <TapGestureRecognizer Command="{Binding BindingContext.PaymentOptionCommand, Source={x:Reference paymentView}}"/> 
    </buttons:SfRadioButton.GestureRecognizers> 
</buttons:SfRadioButton> 
 
. . . 
 
<Grid.GestureRecognizers> 
     <TapGestureRecognizer Command="{Binding BindingContext.PaymentOptionCommand, Source={x:Reference paymentView}}"/> 
</Grid.GestureRecognizers> 
 
  
Also, we have attached the sample, please find the sample from the below location. 
 
  
Regards, 
Yuvaraj P 


Marked as answer
Loader.
Up arrow icon