Repository navigation
fix: 修复会话滚动位置异常恢复 - #3019
Merged
BigPizzaV3 merged 2 commits intoNov 11, 2026
Merged
fix: 修复会话滚动位置异常恢复#3019
Conversation
Owner
|
感谢修复!空容器覆盖已保存位置、记住「是否在底部」、多个 有一处需要调整:PR 新增了「设置被明确关闭时,打开会话后主动滚到底部」,涉及 |
Contributor
Author
|
已按建议调整:移除了关闭位置保留时主动滚到底部的逻辑、启动快照,以及 DOM 变化时的提前定位回调;关闭功能后不再主动更改滚动位置。其余位置恢复和原生“滚动到底部”按钮的修复保留。 相关测试 241 项、注入产物检查、前端及 Windows 发布构建均已通过。隔离管理器启动冒烟通过,尚未覆盖真实会话中的滚动交互。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
切换或重新打开会话时,未加载完成的容器可能覆盖已保存的位置,长会话也可能恢复到错误位置。点击原生“滚动到底部”后,待执行的恢复任务可能再次将页面拉回旧位置。
修改
验证
node scripts/assemble-renderer-inject.mjs --check:通过。npm run vite:build:通过。cargo build --release -p codex-plus-manager --bin codex-plus-plus:通过。