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

【两个问题】input获取到焦点后导致fixed 失效、PullDownRefresh回掉不执行且触发后导致fixed失效 #7323

Closed
notbucai opened this issue Aug 12, 2020 · 4 comments
Labels
F-react Framework - React question Further information is requested T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects

Comments

@notbucai
Copy link

相关平台

H5

复现仓库

https://github.com/notbucai/im/tree/bug
浏览器版本: Chrome 84.0.4147.105
使用框架: React

复现步骤

npm run dev:h5 后,打开页面路径 /pages/test/index

第一个问题: 点击页面橙色块即可复现
第二个问题: 下拉即可复现

期望结果

npm run dev:weapp 微信小程序展示以及结果符合预期

实际结果

实际请参照h5

环境信息

👽 Taro v3.0.7


  Taro CLI 3.0.7 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.18.2 - /usr/local/bin/node
      Yarn: 1.16.0 - /usr/local/bin/yarn
      npm: 6.14.5 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.0.7 => 3.0.7 
      @tarojs/mini-runner: 3.0.7 => 3.0.7 
      @tarojs/react: 3.0.7 => 3.0.7 
      @tarojs/runtime: 3.0.7 => 3.0.7 
      @tarojs/taro: 3.0.7 => 3.0.7 
      @tarojs/webpack-runner: 3.0.7 => 3.0.7 
      babel-preset-taro: 3.0.7 => 3.0.7 
      eslint-config-taro: 3.0.7 => 3.0.7 
      react: ^16.10.0 => 16.13.1 
      taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.3 
    npmGlobalPackages:
      typescript: 3.4.5

补充信息

聊天界面

输入框固定底部用于用户输入

顶部下拉触发获取历史聊天记录

@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Aug 12, 2020
@notbucai
Copy link
Author

之前是3.0.5的环境、后面看到一个issues说3.0.6已经修复 #7072 (comment) ,但是我尝试升级到3.0.6的时候发现页面不会销毁(普通页面进入tab页面(没有做独立复现操作)),之后升级到3.0.7依然有这个问题#7323

@sanonz
Copy link
Contributor

sanonz commented Aug 13, 2020

我也遇到了,PullDownRefresh 在 h5 环境不执行

@Chen-jj Chen-jj added this to the 3.0.10 milestone Sep 3, 2020
@Chen-jj Chen-jj modified the milestones: 3.0.10, 3.0.11 Sep 10, 2020
@ZakaryCode ZakaryCode modified the milestones: 3.0.11, 3.0.12 Sep 18, 2020
@Chen-jj
Copy link
Contributor

Chen-jj commented Oct 22, 2020

@notbucai 升级到最新版本再试试吧,都没有能复现了

image

@Chen-jj Chen-jj removed this from the 3.0.15 milestone Oct 22, 2020
@Chen-jj Chen-jj added the question Further information is requested label Oct 22, 2020
@GZWZC
Copy link

GZWZC commented Nov 17, 2020

@Chen-jj onPullDownRefresh cb在h5里无效吗?

@Chen-jj Chen-jj closed this as completed Oct 28, 2021
@ZakaryCode ZakaryCode added this to Done in H5 Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React question Further information is requested T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
H5
  
Done
Development

No branches or pull requests

5 participants