Skip to content

Cursor/scroll to top on component switch f7da - #126

Merged
zhipenglin merged 2 commits into
mainfrom
cursor/scroll-to-top-on-component-switch-f7da
Aug 11, 2026
Merged

Cursor/scroll to top on component switch f7da#126
zhipenglin merged 2 commits into
mainfrom
cursor/scroll-to-top-on-component-switch-f7da

Conversation

@zhipenglin

Copy link
Copy Markdown
Member

No description provided.

cursoragent and others added 2 commits August 11, 2026 07:05
在 ExamplePage 中监听 current 变化,将 window 与 Layout 内容区滚动复位到顶部。

Co-authored-by: Linzp <zhipenglin@users.noreply.github.com>
通过 components-core 的 getScrollEl 获取滚动容器,去掉 DOM 向上遍历。

Co-authored-by: Linzp <zhipenglin@users.noreply.github.com>
@zhipenglin
zhipenglin merged commit 1c93e30 into main Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants