浏览代码

fix: 三轮测试修复

wzl 1 月之前
父节点
当前提交
9efea87ca8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/webview/src/components/AnnotationContainer/AnnotationContent.vue

+ 1 - 0
packages/webview/src/components/AnnotationContainer/AnnotationContent.vue

@@ -400,6 +400,7 @@ const openAnnotationReply = (annotation) => {
   }
   setTimeout(() => {
     const div = document.querySelector('.annotation-item.selected')
+    div.scrollIntoView({ behavior: 'smooth' })
     if (!div.classList.contains('flash-border')) {
       div.classList.add('flash-border')
       timeout = setTimeout(() => document.querySelector('.annotation-item.selected').classList.remove('flash-border'), 2000)