[Bug]: 已完成节点产物滚动到底部后,后续节点状态更新会把滚动位置重置到顶部
Component / host
Platform — web / API
Edition
Platform
LoopForge version
v0.4.0
What happened?
在 run 详情页查看某个已完成节点的产物(artifact/输出)时,把产物区域的滚动条拉到底部阅读;此时后续节点(下一阶段)的状态发生更新,产物区的滚动位置会被重置回顶部,阅读位置丢失。
期望行为:后续节点的状态增量更新(pending→running→succeeded 等实时推送引发的重新渲染)不应重置用户已经滚动到的位置;只有在用户主动切换节点或产物内容整体替换时才回到顶部。
Reproduction
- 打开一个正在运行的 run 详情页(既有已完成节点,也有仍在进行/待执行的后续节点)。
- 展开已完成节点的产物或输出区域,把滚动条拉到底部。
- 等待后续节点状态更新(例如下一个节点开始运行或完成)。
- 观察到产物区的滚动条跳回顶部。
环境:LoopForge v0.4.0 本地部署(localhost:8090),Chrome。
Sanitized diagnostics
Safety checks
- [x] I removed credentials, private endpoints, internal identifiers, and personal data.
- [x] I searched existing issues for duplicates.
感谢反馈。我理解的情况是:在运行详情里阅读已完成节点的产物时,如果滚到了底部,后续节点的状态更新会把滚动位置重置回顶部;你希望只有主动切换节点,或产物内容被整体替换时,才回到顶部。
已经看到这条 Issue,会按现有 Issue 排期查看。
Thanks for the clear reproduction steps. I’d like to take this one. I reproduced the jump in Chrome while reading a completed node’s output: when the downstream node finished, the run detail view redrew and the output scrolled back to the top. I’ll open a PR with a regression test that also checks that switching nodes or replacing the output starts at the top.