-
Notifications
You must be signed in to change notification settings - Fork 434
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
Mouse events not reaching checkbox #15
Comments
I am having something similar happen (w/wo using an icon in the label)... though I have not modified the css yet (may try that tomorrow or so). Here is how the HTML is generated (using a standard checkbox works fine):
The input tag is being generated from an ASP.NET MVC Razor tag, could that be a problem? |
@AlonCG It doesn't like there being a hidden input with the same name. That is causing it to fail. |
This problem fixed simply adding z-index equals 1 to inputs. |
This issue has not been resolved. I have the most recent version and the checkbox value is not being changed by the mouse click. |
Sorry, I am incorrect, I did have a earlier version than the most recent. My apologies. |
@flatlogic reopen it |
I played with bootstrap checkbox and ASP.NET MVC CheckBoxFor for half a day As "@Html.CheckBoxFor" appended <input type="hidden" ... /> after checkbox input, the bootstrap checkbox become UNclickable. Unfortunately. My solution to this problem is next:
|
I encountered a problem where mouse events were not passing through the pseudoelement to the underlying checkbox. (Firefox 34 and Safari 8 on MacOS 10.10.)
I was able to fix it by adding "pointer-events: none;" to the .checkbox label::before/after selectors. Not sure if this is a good fix, though!
The text was updated successfully, but these errors were encountered: