diff --git a/app/javascript/vue/shared/inline_edit.vue b/app/javascript/vue/shared/inline_edit.vue index b49a79a61..b89de6436 100644 --- a/app/javascript/vue/shared/inline_edit.vue +++ b/app/javascript/vue/shared/inline_edit.vue @@ -14,7 +14,7 @@ v-model="newValue" @keydown="handleKeypress" @blur="handleBlur" - @keyup.escape="cancelEdit" + @keyup.escape="cancelEdit && this.atWhoOpened" @focus="setCaretAtEnd"/>