Skip to content

Cursor/fix scroll to top f7da - #129

Merged
zhipenglin merged 4 commits into
mainfrom
cursor/fix-scroll-to-top-f7da
Aug 11, 2026
Merged

Cursor/fix scroll to top f7da#129
zhipenglin merged 4 commits into
mainfrom
cursor/fix-scroll-to-top-f7da

Conversation

@zhipenglin

Copy link
Copy Markdown
Member

No description provided.

zhipenglin and others added 4 commits August 11, 2026 15:09
…ent-switch-f7da

fix: 切换组件时页面滚动到顶部
切换组件滚顶相关改动的 patch 版本升级。

Co-authored-by: Linzp <zhipenglin@users.noreply.github.com>
…ent-switch-f7da

chore: bump version to 2.4.6
路由 id 变化时通过 Global.useScrollElement 获取滚动根并 scrollTo(0,0),
同时复位 window,避免 body overflow 导致滚顶无效。版本升至 2.4.7。

Co-authored-by: Linzp <zhipenglin@users.noreply.github.com>
@zhipenglin
zhipenglin merged commit c626740 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