diff --git a/frontend_nuxt/components/CommentItem.vue b/frontend_nuxt/components/CommentItem.vue index 2d2f660ec..e154b141d 100644 --- a/frontend_nuxt/components/CommentItem.vue +++ b/frontend_nuxt/components/CommentItem.vue @@ -120,9 +120,9 @@ const CommentItem = { const toggleEditor = () => { showEditor.value = !showEditor.value if (showEditor.value) { - nextTick(() => { + setTimeout(() => { editorWrapper.value?.scrollIntoView({ behavior: 'smooth', block: 'nearest' }) - }) + }, 100) } }