Radio buttons unresponsive


Whilst attempting a torturous upgrade to Meteor I’ve run into an issue where the radio buttons in the application are completely unresponsive to mouse clicks/touches. There’s nothing in the console and no clue as to what’s going on, but I can select one with a bit of jquery in the console, e.g. $(’#unresponsive-button’).click().

In case it’s of any use, here’s the html for the relevant page:

There’s no problem with these buttons on the production version of the application, still running a 1.6 beta. Can anyone suggest how to proceed?


That sounds bizarre, if the html output is correct, they should just work.
Doesn’t look like there’s any problems in particular in the template code

Can you attach an event listener to see if the clicks are getting through to the radio button? Maybe some element is in the way?


Thanks for your reply.
I tried a listener in, using both the class and ID of various radio buttons, and the clicks don’t seem to register. The various buttons on the page are OK, though.
I can’t at present work out how to determine what might be intercepting these clicks.


Eventually the problem turned out to be this class applied to the div surrounding all the radio buttons:

.input-field {
    position: relative;
    margin-top: 1rem;

…but I’m damned if I know why.


maybe setting position relative reset the stacking context, allowing another element to sit on top? :thinking:

Either way, a classic CSS problem :joy:

Glad you got there in the end


Because you’ve different value for name attribute, they should have a common name value, just like you group items… for example

regards jayesh