-
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
taro3.0.8 onPageScroll 失效、onReachBottom在部分场景下失效 #7435
Milestone
Comments
@7gongzi .taro-tabbar__container {
height: 100%;
overflow: hidden;
}
.taro-tabbar__panel {
overflow: auto;
} |
Chen-jj
added a commit
that referenced
this issue
Sep 3, 2020
9 tasks
9 tasks
luckyadam
added a commit
that referenced
this issue
Sep 4, 2020
@Chen-jj 是不是要更新一下 H5 里面的 if (process.env.TARO_ENV === 'h5') {
query.select('.taro-tabbar__panel').scrollOffset();
} else {
query.selectViewport().scrollOffset();
} |
@yuezk 重新提个 issue 咯 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
复现仓库
https://github.com/7gongzi/taro3.0
浏览器版本: Chrome 62
使用框架: React
复现步骤
React类组件下onPageScroll 不生效
使用未知taro-ui组件导致页面代码css自动设置
代码里面的
导致onReachBottom 失效
期望结果
onReachBottom正常执行
onPageScroll正常执行
实际结果
onPageScroll失效
onReachBottom 部分用了taro-ui组件场景失效
环境信息
The text was updated successfully, but these errors were encountered: