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

Taro v3.6.6 中 H5 端开启 enablePullDownRefresh: true 时,页面滚动 onPageScroll 事件不会再触发 #13782

Closed
beezen opened this issue May 6, 2023 · 1 comment · Fixed by #13825
Labels
F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@beezen
Copy link
Contributor

beezen commented May 6, 2023

相关平台

H5

复现仓库

git@github.com:beezen/taro-demo-example.git
浏览器版本: chrome 112.0.5615.137
使用框架: Vue 2

复现步骤

1、git clone 项目,进入 taro-3.6.6-pageScroll 目录,执行 yarn dev:h5 运行。
2、滚动页面,不会触发 index 页面中的 onPageScroll 事件。

期望结果

滚动页面,会触发 index 页面中的 onPageScroll 事件。

实际结果

滚动页面,没有触发 index 页面中的 onPageScroll 事件。

环境信息

👽 Taro v3.6.6


  Taro CLI 3.6.6 environment info:
    System:
      OS: macOS 12.6
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
      Yarn: 1.22.19 - /usr/local/bin/yarn
      npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.6 => 3.6.6 
      @tarojs/components: 3.6.6 => 3.6.6 
      @tarojs/helper: 3.6.6 => 3.6.6 
      @tarojs/plugin-framework-vue2: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-alipay: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-h5: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-jd: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-qq: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-swan: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-tt: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-weapp: 3.6.6 => 3.6.6 
      @tarojs/runtime: 3.6.6 => 3.6.6 
      @tarojs/shared: 3.6.6 => 3.6.6 
      @tarojs/taro: 3.6.6 => 3.6.6 
      @tarojs/webpack5-runner: 3.6.6 => 3.6.6 
      babel-preset-taro: 3.6.6 => 3.6.6 
      eslint-config-taro: 3.6.6 => 3.6.6 
@AdvancedCat AdvancedCat added V-3 Version - 3.x F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 labels May 6, 2023
@xuanzebin
Copy link
Member

排查后发现是之前有老哥修复 h5 路由跳转异常问题时,给路由加上了 stampId,但忘记在设置 enablePullDownRefresh 时同步这个 stampId 导致的,下个版本会跟车修复这个问题,感谢反馈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
3 participants