Skip to content

Commit

Permalink
fix(tile): clickabletile should navigate on keypress (#14945)
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed Oct 19, 2023
1 parent ab48f22 commit e41a4db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react/src/components/Tile/Tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export const ClickableTile = React.forwardRef<
function handleOnKeyDown(evt: KeyboardEvent) {
evt?.persist?.();
if (matches(evt, [keys.Enter, keys.Space])) {
evt.preventDefault();
setIsSelected(!isSelected);
onKeyDown(evt);
}
Expand Down

0 comments on commit e41a4db

Please sign in to comment.