This is a migrated thread and some comments may be shown as answers.

Checkboxes are being double pressed

3 Answers 130 Views
CheckBox
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 27 Sep 2018, 08:52 AM

When the Checkboxes were released, I added them to several screens within my app and they all worked fine without any issues.

 

Recently, they have started to behave strange and now no longer work.  I have the same problems on every screen that uses them.

 

When you press the checkbox, you see the tick appear (so you know it has been selected) and then straight away it is deselected.  Attaching a Command to the checkbox so I can monitor what happens when it is pressed, the Command is actually being called twice every time I select the checkbox.

 

As this issue has started to happen on every screen that uses the checkboxes (even screens I haven't changed the code on for months) I was hoping someone could assist me in fixing this problem.  It's possible that I have upgraded a few packages recently (ie. Xamarin Forms, Visual Studio etc.) so I don't know whether a conflict has occurred somewhere.

 

Has anyone else seen this issue or know what I can do to fix it?

3 Answers, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 27 Sep 2018, 02:33 PM
Hi Kevin,

I have tried to reproduce the described behavior with the RadCheckBox control but on my side it works fine. I have used the latest version of Telerik UI for Xamarin and Xamarin.Forms - 3.1.0.697729. May I ask you to modify the attached project according your specific setup where the issue is reproduced and send it back to me? Please open a support ticket and attach it there, as in the forum only image attachments are allowed.

Looking forward to your reply.  

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kevin
Top achievements
Rank 1
answered on 27 Sep 2018, 03:37 PM

Thanks for the reply Didi.

After further testing, I have discovered what is causing the problem; although I'm still a little confused to why it happens.

When I am demoing my app, I use a Chrome extension called Vysor.  Something must have changed with Vysor that is conflicting with your controls in the last couple of weeks, and as a result the checkboxes don't work correctly as they perform a double press.

Since I have discovered this, I am able to replicate the problem every time.

 

These are the steps I take to replicate the problem:

  • Run the app and verify the checkboxes are working.
  • Connect your device to your PC and launch Vysor (this will install the .apk to your device)
  • The checkboxes no longer work

In order to get the checkboxes to start working again, you must uninstall Vysor and then everything is back to normal.

 

Do you know why this issue would be occurring?

0
Didi
Telerik team
answered on 28 Sep 2018, 10:48 AM
Hi Kevin,

Thank you for the provided steps.

I have added Vysor as а Chrome extension and I have followed the steps to reproduce the issue, but on my side it works fine. The CheckBox control goes to its Checked / Unchecked state as expected on a real device, emulator and Vysor. I have used the project I have sent earlier in this thread and I have recorded two videos that show how the checkbox works on my side. In the checkbox_vysor_test file I have a break-point on the Execute command to trigger the checkbox states and inside the checkbox_no_breakpoint_on_execute_command file without break-point. 

Let me know if I can assist with anything else.

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
CheckBox
Asked by
Kevin
Top achievements
Rank 1
Answers by
Didi
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or