diff --git a/src/components/middle/composer/MessageInput.tsx b/src/components/middle/composer/MessageInput.tsx index 7c763726..dcfab0ca 100644 --- a/src/components/middle/composer/MessageInput.tsx +++ b/src/components/middle/composer/MessageInput.tsx @@ -256,7 +256,7 @@ const MessageInput: FC = ({ closeTextFormatter(); onSend(); } - } else if (e.key === 'ArrowUp' && !html.length && !e.metaKey) { + } else if (e.key === 'ArrowUp' && !html.length && !e.metaKey && !e.altKey) { e.preventDefault(); editLastMessage(); } else {