diff --git a/src/components/Questions/AnswerInput.vue b/src/components/Questions/AnswerInput.vue index 240ad226e..426536ba3 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" /> @@ -295,7 +295,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, this.optionType) } @@ -308,6 +311,10 @@ export default { * @param {Event} e the event */ async deleteEntry(e) { + if (this.isIMEComposing || e?.isComposing) { + return + } + if (this.answer.local) { return }