Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Sometimes it's possible to have two radio buttons highlighted at once #327

Closed
mdandrea opened this Issue Sep 7, 2012 · 10 comments

Comments

Projects
None yet
3 participants

mdandrea commented Sep 7, 2012

I'm using the following code to create radio buttons one on top of the other:

                    <table>
                        <tr>
                            <td class="column1"><input type=radio name="ppgtype" id="publicradio" value="public" checked=true onchange="sample.pushcapture.publicPPG()" /></td>
                            <td class="column2">Public/BIS</td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td class="column1"><input type=radio name="ppgtype" id="enterpriseradio" value="enterprise" onchange="sample.pushcapture.enterprisePPG()" /></td>
                            <td class="column2">Enterprise/BES</td>
                        </tr>
                    </table>

In spite of the fact that they have the same name of "ppgtype", it it sometimes possible to select both radio buttons at once.

I can send you a screenshot of this.

Not sure what the root cause of it is. Has anyone else encountered this?

Matt

Member

tneil commented Sep 7, 2012

Are they stacked one on top of the other, or side by side.. right now they have only been designed to be stacked one on top of the other

mdandrea commented Sep 7, 2012

Yep, it's one on top of each other.
They're in two separate tables.

From: Tim Neil [mailto:notifications@github.com]
Sent: Friday, September 07, 2012 01:23 PM
To: blackberry/bbUI.js bbUI.js@noreply.github.com
Cc: Matthew D'Andrea
Subject: Re: [bbUI.js] Sometimes it's possible to have two radio buttons highlighted at once (#327)

Are they stacked one on top of the other, or side by side.. right now they have only been designed to be stacked one on top of the other


Reply to this email directly or view it on GitHubhttps://github.com/blackberry/bbUI.js/issues/327#issuecomment-8372212.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Are you experiencing this in Ripple or in the DevAlpha/Simulator?

mdandrea commented Sep 8, 2012

I noticed this on a device. Not sure if it's reproducible on the simulator and Ripple.

From: Nuno Donato [mailto:notifications@github.com]
Sent: Saturday, September 08, 2012 07:08 AM
To: blackberry/bbUI.js bbUI.js@noreply.github.com
Cc: Matthew D'Andrea
Subject: Re: [bbUI.js] Sometimes it's possible to have two radio buttons highlighted at once (#327)

Are you experiencing this in Ripple or in the DevAlpha/Simulator?


Reply to this email directly or view it on GitHubhttps://github.com/blackberry/bbUI.js/issues/327#issuecomment-8386597.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Unfortunately my DevAlpha was taken away from me, so I can't test it now. In the simulator it worked fine, but I have the same problem with Ripple (different function is called when the user presses the radio button).

Member

tneil commented Oct 4, 2012

I was able to reproduce this once.. but I'm having a hard time trying to find a consistent way to cause the issue. I'm wondering if it has to do with click vs touch events in the browser..

Just saw this again on R9 build 1675. Still hard to reproduce though. :(

Member

tneil commented Dec 14, 2012

yup.. I can't seem to find a pattern to it yet. Likely some missed event of some sort.

tneil pushed a commit that referenced this issue Jan 11, 2013

Member

tneil commented Jan 11, 2013

WooHoo!! I believe this one is now fixed

@tneil tneil closed this Jan 11, 2013

Yeah! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment