Removed code that was changing checked flag for keypress event, because it is already handled by browswer
This commit is contained in:
@@ -13,8 +13,6 @@ import 'webcomponents';
|
||||
if (e.keyCode === 13 || e.keyCode === 32) {
|
||||
e.preventDefault();
|
||||
|
||||
this.checked = !this.checked;
|
||||
|
||||
this.dispatchEvent(new CustomEvent('change', {
|
||||
bubbles: true
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user