fix: Enter/Esc keys in content editable should not be considered while composing
closes #5523
This commit is contained in:
@@ -64,6 +64,9 @@ const EditableTitle = React.forwardRef(
|
||||
|
||||
const handleKeyDown = React.useCallback(
|
||||
(event: React.KeyboardEvent) => {
|
||||
if (event.nativeEvent.isComposing) {
|
||||
return;
|
||||
}
|
||||
if (event.key === "Enter") {
|
||||
event.preventDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user