@@ -422,7 +422,11 @@ function addReply(item, parentId) {
}
showInput.value = true
- textareaRef.value?.focus()
+
+ nextTick(() => {
+ textareaRef.value?.focus()
+ })
replyComment.value = item
parentId && (replyComment.value.parentId = parentId)