mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-12 00:59:52 +01:00
Composer: Prevent Alt+Up from editing the last message (#1406)
This commit is contained in:
parent
97453fec52
commit
789928d542
@ -256,7 +256,7 @@ const MessageInput: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user