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.3.1后切换tabbar后页面重新初始化 #9879

Closed
jimmyye opened this issue Jul 23, 2021 · 7 comments
Closed

升级3.3.1后切换tabbar后页面重新初始化 #9879

jimmyye opened this issue Jul 23, 2021 · 7 comments
Assignees
Labels
F-react Framework - React P-2 Medium, minor/patch T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@jimmyye
Copy link

jimmyye commented Jul 23, 2021

相关平台

H5

浏览器版本: Chrome 91
使用框架: React

复现步骤

点击tabbar切换页面

期望结果

切换前后页面保持不变

实际结果

切换回来后页面重新初始化

环境信息

  Taro CLI 3.3.0 environment info:
    System:
      OS: macOS 11.4
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
      npm: 6.14.13 - ~/.nvm/versions/node/v14.17.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.3.1 => 3.3.1
      @tarojs/components: 3.3.1 => 3.3.1
      @tarojs/mini-runner: 3.3.1 => 3.3.0
      @tarojs/react: 3.3.1 => 3.3.1
      @tarojs/runtime: 3.3.1 => 3.3.1
      @tarojs/taro: 3.3.1 => 3.3.1
      @tarojs/webpack-runner: 3.3.1 => 3.3.0
      babel-preset-taro: 3.3.1 => 3.3.0
      eslint-config-taro: 3.3.1 => 3.3.1
      react: ^17.0.0 => 17.0.2
      taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.10

补充信息

3.3.0时切换前后页面状态不变。
可能跟3.3.1的一个commit有关:页面卸载导致的多页并存问题 #9829

请问这个情况是bug,还是原来的是bug?

@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Jul 23, 2021
@hiisea
Copy link

hiisea commented Jul 27, 2021

....我也遇到了..重新初始化导致redux connect 被重复执行,导致change重复触发多次。。。。

@vdfor
Copy link
Contributor

vdfor commented Aug 8, 2021

+1

1 similar comment
@shingohu
Copy link

+1

@vdfor
Copy link
Contributor

vdfor commented Aug 12, 2021

@ZakaryCode 大佬,麻烦看下这个问题哈,与 #9829 有关

@shingohu
Copy link

@ZakaryCode 尽快看看吧,多次切换变成这样了,echarts都收到影响不显示了
image

@Chen-jj Chen-jj added the P-2 Medium, minor/patch label Aug 12, 2021
@xiehui999
Copy link

确实有这个问题

@Chen-jj
Copy link
Contributor

Chen-jj commented Oct 28, 2021

最新版本已修复~

@Chen-jj Chen-jj closed this as completed Oct 28, 2021
@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 P-2 Medium, minor/patch T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

7 participants