Skip to content

Commit

Permalink
fix(EditableTypography): Enter click to end edit mode is bubbling to …
Browse files Browse the repository at this point in the history
…other places afterwards (#2694)
  • Loading branch information
YossiSaadi authored Dec 31, 2024
1 parent ca0a4ed commit c60db9f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ const EditableTypography: VibeComponent<EditableTypographyProps, HTMLElement> =
return;
}

event.preventDefault();
handleInputValueChange();
}
if (event.key === keyCodes.ESCAPE) {
Expand Down

0 comments on commit c60db9f

Please sign in to comment.