Defer to default keybindings for alt + enter

This commit is contained in:
Grace Shaw
2020-09-14 15:27:16 -07:00
committed by GitHub
parent b19a7675a5
commit 8b7db94882

View File

@@ -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);
}