You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a known issue that Switchery fires the onchange event twice when it is inside a label <label><input ..></label>. Issues #50 and #51 were about this, for example.
I am using Switchery again currently and am annoyed by that behaviour. I would like to commit a pull request to fix it but before I do the work in vein I would like to know: Would you (the mods) accept and merge the pull request if it fixes the issue and looks reasonable?
Or this there any problem I should know about why this wasn't fixed yet? Maybe it is harder than it looks (just prevent event propagation on click)?
And thanks for this project, I really like using it!
The text was updated successfully, but these errors were encountered:
jirikrepl
added a commit
to jirikrepl/switchery
that referenced
this issue
Apr 30, 2022
Hi
It is a known issue that Switchery fires the onchange event twice when it is inside a label
<label><input ..></label>
. Issues #50 and #51 were about this, for example.I am using Switchery again currently and am annoyed by that behaviour. I would like to commit a pull request to fix it but before I do the work in vein I would like to know: Would you (the mods) accept and merge the pull request if it fixes the issue and looks reasonable?
Or this there any problem I should know about why this wasn't fixed yet? Maybe it is harder than it looks (just prevent event propagation on click)?
And thanks for this project, I really like using it!
The text was updated successfully, but these errors were encountered: