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

编译运行H5,,在iOS百度APP内,使用 navigateTo 进行页面跳转,第一次可以正常跳转,之后无法正确跳转页面,停留在当前页 #16216

Open
zxmm996 opened this issue Jul 31, 2024 · 3 comments
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-4 Version - 4.x

Comments

@zxmm996
Copy link

zxmm996 commented Jul 31, 2024

相关平台

H5

复现仓库

https://github.com/zxmm996/taroApp.git
浏览器版本: 百度APP: 13.61.5.10
使用框架: React

复现步骤

第一次跳转页面可正常跳转,跳转后返回上一页,再次跳转页面异常。
另:多次尝试卸载百度APP后在重新安装百度APP,第一此扫码打开H5应用页面跳转正常,关闭H5或重新打开百度APP再次扫码打开H5项目可大概率可稳定复现此问题。

期望结果

使用navigeteTo方法可正常跳转页面

实际结果

页面未能正常跳转

环境信息

👽 Taro v4.0.4


  Taro CLI 4.0.4 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 18.20.4 - C:\Program Files\nodejs\node.EXE        
      Yarn: 1.22.22 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD 
npmPackages:
      @tarojs/cli: 4.0.4 => 4.0.4
      @tarojs/components: 4.0.4 => 4.0.4
      @tarojs/helper: 4.0.4 => 4.0.4
      @tarojs/plugin-framework-react: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
      @tarojs/react: 4.0.4 => 4.0.4
      @tarojs/runtime: 4.0.4 => 4.0.4
      @tarojs/shared: 4.0.4 => 4.0.4
      @tarojs/taro: 4.0.4 => 4.0.4
      @tarojs/vite-runner: 4.0.4 => 4.0.4
      babel-preset-taro: 4.0.4 => 4.0.4
      eslint-config-taro: 4.0.4 => 4.0.4
      react: ^18.0.0 => 18.3.1

补充信息

复现手机设备信息:
手机型号:iPhone 14 Pro
iOS版本:16.3
百度APP版本:13.61.5.10

Taro V4.0.4、V3.6.34均可复现此问题

另在历史issues中有类似问题,https://github.com/NervJS/taro/issues/12349,相关开发人员未能复现该问题关闭了该issue。

@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Jul 31, 2024
@zxmm996
Copy link
Author

zxmm996 commented Jul 31, 2024

navigateTo 中的success方法有成功回调,页面未能正常跳转

@zxmm996
Copy link
Author

zxmm996 commented Jul 31, 2024

复现视频及页面跳转异常后的DOM结构

WeChat_20240801010041.mp4

异常dom

This was referenced Aug 3, 2024
@TheKonka TheKonka removed the V-3 Version - 3.x label Aug 4, 2024
@TheKonka TheKonka added the V-4 Version - 4.x label Aug 4, 2024
@zxmm996
Copy link
Author

zxmm996 commented Aug 14, 2024

@TheKonka 你好,请问这个问题是否复现,是否有在跟进,后续是否有修复计划。

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-4 Version - 4.x
Projects
Status: Padding
Development

No branches or pull requests

2 participants