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
After upgrading from 4.4.1 to 4.5, the checkbox button no longer allows an onclick event on the checkbox. Reverting back to 4.4.1 fixes it. I believe the issue is from the event.preventDefault() (line 163) added in this pull request: #30388.
Here is a repro comparison with checkbox button test1 and regular checkbox test2.
I've tried to avoid preventing the event onclick onto the input, as a workarround you could catch the onclick event onto the label instead of the input waiting for the next release
After upgrading from 4.4.1 to 4.5, the checkbox button no longer allows an onclick event on the checkbox. Reverting back to 4.4.1 fixes it. I believe the issue is from the
event.preventDefault()
(line 163) added in this pull request: #30388.Here is a repro comparison with checkbox button
test1
and regular checkboxtest2
.4.4.1 (works): https://www.codeply.com/p/9DhKAgjsCP
4.5: https://www.codeply.com/p/v1lNDIWenF
OS: macOS 10.15.4
Browsers: Chrome 81.0.4044.138, Safari 13.1
The text was updated successfully, but these errors were encountered: