diff --git a/src/console/components/console.js b/src/console/components/console.js index e83a1c9..38e32d7 100644 --- a/src/console/components/console.js +++ b/src/console/components/console.js @@ -36,6 +36,8 @@ export default class ConsoleComponent { case KeyboardEvent.DOM_VK_ESCAPE: return this.hideCommand(); case KeyboardEvent.DOM_VK_RETURN: + e.stopPropagation(); + e.preventDefault(); return this.onEntered(e.target.value); case KeyboardEvent.DOM_VK_TAB: if (e.shiftKey) {