diff --git a/src/components/Questions/AnswerInput.vue b/src/components/Questions/AnswerInput.vue index f0933a7d6..9ef6ab11e 100644 --- a/src/components/Questions/AnswerInput.vue +++ b/src/components/Questions/AnswerInput.vue @@ -22,7 +22,7 @@ @input="debounceOnInput" @keydown.delete="deleteEntry" @keydown.enter.prevent="focusNextInput" - @compositionstart="onCompositionEnd" + @compositionstart="onCompositionStart" @compositionend="onCompositionEnd" /> @@ -225,7 +225,10 @@ export default { /** * Request a new answer */ - focusNextInput() { + focusNextInput(e) { + if (this.isIMEComposing || e?.isComposing) { + return + } if (this.index <= this.maxIndex) { this.$emit('focus-next', this.index) } @@ -238,6 +241,10 @@ export default { * @param {Event} e the event */ async deleteEntry(e) { + if (this.isIMEComposing || e?.isComposing) { + return + } + if (this.answer.local) { return }