Skip to content

Commit 7434c73

Browse files
ShaneKthetaPC
andauthored
Update core/src/components/checkbox/checkbox.tsx
Co-authored-by: Maria Hutt <[email protected]>
1 parent bbeff5b commit 7434c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export class Checkbox implements ComponentInterface {
182182
};
183183

184184
private onKeyDown = (ev: KeyboardEvent) => {
185-
if (ev.key === ' ' || ev.key === 'Enter') {
185+
if (ev.key === ' ') {
186186
ev.preventDefault();
187187
if (!this.disabled) {
188188
this.toggleChecked(ev);

0 commit comments

Comments
 (0)