Skip to content
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

3.X版本h5端不支持onReachBottom了吗? #7288

Closed
LionelSun opened this issue Aug 8, 2020 · 5 comments · Fixed by #7359 or #7386
Closed

3.X版本h5端不支持onReachBottom了吗? #7288

LionelSun opened this issue Aug 8, 2020 · 5 comments · Fixed by #7359 or #7386
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Milestone

Comments

@LionelSun
Copy link

相关平台

H5

浏览器版本: Chrom 84
使用框架: React

复现步骤

上拉触底事件仅在小程序下生效了,之前2.X版本h5端是没问题的

onReachBottom() {
console.log('上拉触底1')
}

期望结果

页面触底时触发 onReachBottom

实际结果

h5中并没有触发,仅在小程序中触发

环境信息

Taro CLI 3.0.5 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 10.13.0
      npm: 6.14.5
@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Aug 8, 2020
@LengYXin
Copy link
Contributor

@Chen-jj taro h5路由 好像有代码逻辑错误 导致 onPullDownRefresh 无法触发

if (pageEl && pageEl.__page) {
        pageEl.__page.onPullDownRefresh()
      }

__page 无法获取
原因是检查了路由代码 中的 onLoad 一直为false 无法赋值。
麻烦大佬检查一下。
image
image

@beysong
Copy link

beysong commented Oct 9, 2020

小程序也用不了,3.0.13版本

@h-ecstasy
Copy link

请问这个问题解决了吗?

@349989153
Copy link

@349989153
Copy link

@Chen-jj 更新到哪个版本h5能用onPullDownRefresh?直接给个痛快话,目前3.0.7、3.0.8、3.0.19都不行

@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants