diff --git a/src/components/ExpressionEditor.vue b/src/components/ExpressionEditor.vue index 841e739..02660cc 100644 --- a/src/components/ExpressionEditor.vue +++ b/src/components/ExpressionEditor.vue @@ -4,6 +4,8 @@ :value="value" @input="updateValue($event.target.value)" @keydown="handleKeyDown" + @blur="hideSuggestions" + @focus="handleInput" ref="codeEditor"/>