Skip to content

Checkboxes and radiobuttons not clickable when they hold a [for] attribute #50

New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Paulus90 opened this issue Mar 15, 2018 · 1 comment

Comments

@Paulus90
Copy link

Paulus90 commented Mar 15, 2018

After updating to castlecss-forms 1.0.12, checkboxes and radiobuttons are not clickable anymore when they hold a [for] attribute (on the label element). This is due to the presence of 'pointer-events: none' on the element. A possible fix could be to check if the label element has a class of '.input-control' and not apply the above style rule if this is the case (...:not:(.input-control)....).

@Paulus90 Paulus90 changed the title Checkboxes and radiobuttons not clickable when they hold a [for Checkboxes and radiobuttons not clickable when they hold a [for] attribute Mar 15, 2018
@Paulus90 Paulus90 changed the title Checkboxes and radiobuttons not clickable when they hold a [for] attribute Checkboxes and radiobuttons not clickable when they hold a for attribute Mar 15, 2018
@Paulus90 Paulus90 changed the title Checkboxes and radiobuttons not clickable when they hold a for attribute Checkboxes and radiobuttons not clickable when they hold a [for] attribute Mar 15, 2018
@dariusrosendahl
Copy link
Member

dariusrosendahl commented Mar 21, 2018

Link to pullrequest: #51

@dariusrosendahl dariusrosendahl mentioned this issue Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants