diff --git a/packages/button/src/ButtonBase.ts b/packages/button/src/ButtonBase.ts index ab114441e8..ef0a9d33cd 100644 --- a/packages/button/src/ButtonBase.ts +++ b/packages/button/src/ButtonBase.ts @@ -150,6 +150,7 @@ export class ButtonBase extends LikeAnchor( const { code } = event; switch (code) { case 'Space': + event.preventDefault(); if (typeof this.href === 'undefined') { this.addEventListener('keyup', this.handleKeyup); this.active = true;