diff --git a/components/composer.js b/components/composer.js index 9ae634e..7772e2f 100644 --- a/components/composer.js +++ b/components/composer.js @@ -63,6 +63,11 @@ export default class Composer extends Component { return; } + // If a modifier is pressed, reserve for key bindings. + if (event.altKey || event.ctrlKey || event.metaKey) { + return; + } + // Ignore events that don't produce a Unicode string. If the key event // result in a character being typed by the user, KeyboardEvent.key // will contain the typed string. The key string may contain one