diff --git a/src/common/gui/base/TextField.ts b/src/common/gui/base/TextField.ts index 806c471711d9..e7a79176a449 100644 --- a/src/common/gui/base/TextField.ts +++ b/src/common/gui/base/TextField.ts @@ -272,7 +272,7 @@ export class TextField implements ClassComponent { onblur: (e: FocusEvent) => this.blur(e, a), onkeydown: (e: KeyboardEvent) => { const handled = useKeyHandler(e, a.keyHandler) - if (!isKeyPressed(e.key, Keys.F1, Keys.TAB)) { + if (!isKeyPressed(e.key, Keys.F1, Keys.TAB, Keys.ESC)) { // When we are in a text field we don't want keys propagated up to act as hotkeys e.stopPropagation() }