-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
h5 页面跳转后,新的页面没有滚动到页面顶部 #7974
Comments
taro-bot2
bot
added
F-react
Framework - React
T-h5
Target - 编译到 H5
V-3
Version - 3.x
labels
Nov 4, 2020
有进展吗 |
有人维护这个issue吗 |
我给第一个页面最外层又包了一层 View,并添加了下面的样式 |
ZakaryCode
added a commit
that referenced
this issue
Dec 8, 2021
ZakaryCode
added a commit
that referenced
this issue
Dec 8, 2021
Chen-jj
added a commit
that referenced
this issue
Dec 9, 2021
* feat(component): add h5 component error tips * feat(types): 补齐新增组件相关类型 * feat(route): taro-page 滚动条共享问题 fix #7974 Co-authored-by: chenjiajian <[email protected]>
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
复现仓库
https://github.com/deng-yc/taro-h5
浏览器版本: any
使用框架: React
复现步骤
npm run dev:h5 运行
首页,先滚动到下面一些的元素
点击任意项,进入第二个页面, 第二个页面的高度也超过一屏
第二个页面并没有滚动到顶部
期望结果
跳转到新的页面,新页面应该滚动条位置应该在顶部
实际结果
未在顶部
环境信息
The text was updated successfully, but these errors were encountered: