-
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
Taro.pageScrollTo无法滚动到指定位置 #8228
Comments
taro-bot2
bot
added
F-react
Framework - React
T-h5
Target - 编译到 H5
V-3
Version - 3.x
labels
Dec 9, 2020
补充信息
<html style="font-size: 23.4375px;" class="hydrated">
<head>
<title>首页</title>
</head>
<body>
<script type="text/javascript" src="/js/app.js"></script>
<div class="taro-tabbar__container" id="container">
<div class="taro-tabbar__panel">
<div id="app" class="taro_router">
<div>
<div id="/pages/index/index" class="taro_page">
<taro-view-core class="main hydrated">
<taro-view-core class="margin hydrated"></taro-view-core>
<taro-view-core class="sticky-top-container hydrated">
<taro-view-core class="titles hydrated" id="anchor-titles">
<taro-view-core class="title hydrated">title-1</taro-view-core>
<taro-view-core class="title hydrated">title-2</taro-view-core>
<taro-view-core class="title hydrated">title-3</taro-view-core>
</taro-view-core>
</taro-view-core>
<taro-view-core class="items-container hydrated">
<taro-view-core class="item hydrated" id="anchor-item-0"></taro-view-core>
<taro-view-core class="item hydrated" id="anchor-item-1"></taro-view-core>
<taro-view-core class="item hydrated" id="anchor-item-2"></taro-view-core>
<taro-view-core class="item hydrated" id="anchor-item-3"></taro-view-core>
</taro-view-core>
</taro-view-core>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
|
关联 #8218 |
最新版本已经修复,可以升级后再试试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
复现仓库
https://github.com/GoodbyeNJN/pageScrollTo-bug
浏览器版本: Chrome 87.0.4280.88
使用框架: React
复现步骤
运行项目后在浏览器中打开,向下滚动一定距离后,点击顶部tab栏,页面无法滚动回去
期望结果
点击tab栏可以跳转到相应的位置,如 #6024 中的gif动画所示
实际结果
点击tab栏后毫无反应
环境信息
The text was updated successfully, but these errors were encountered: