From 8b7db948820dcec63a464ee0784f27d3c28fec79 Mon Sep 17 00:00:00 2001 From: Grace Shaw Date: Mon, 14 Sep 2020 15:27:16 -0700 Subject: [PATCH] Defer to default keybindings for alt + enter --- ts/components/CompositionInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/CompositionInput.tsx b/ts/components/CompositionInput.tsx index aa123dfda1..730f6c0d1c 100644 --- a/ts/components/CompositionInput.tsx +++ b/ts/components/CompositionInput.tsx @@ -639,7 +639,7 @@ export const CompositionInput = ({ return 'enter-emoji'; } - if (e.key === 'Enter' && !e.shiftKey) { + if (e.key === 'Enter' && !e.shiftKey && !e.altKey) { if (large && !(controlKey || commandKey)) { return getDefaultKeyBinding(e); }