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

微信小程序安卓兼容问题:软键盘弹出状态下页面显示异常 #16830

Open
space-luna opened this issue Nov 9, 2024 · 0 comments

Comments

@space-luna
Copy link

相关平台

微信小程序

小程序基础库: v3.6.4
使用框架: React

复现步骤

从10月23日开始,陆续有安卓的用户反馈的一个线上问题,经过反馈试验发现了必现场景。
tab页a页面有flex上下布局的2个组件,A组件flex:1,A组件内部有一个scrollView,B组件显示在底部,从a页面跳转到一个非tab页的b页面,b页面弹出软键盘,如果在b页面没有关闭软键盘的情况下就返回a页面,会导致a页面的B组件不显示了。
如果先关闭软键盘再返回a页面就没有问题。
由于最近没有发版,猜测是不是微信小程序或者taro发的什么内容导致了这一问题,所以来求助一下恳请大佬看看

期望结果

不管软键盘是否关闭,都不用影响下一页面的显示

实际结果

软键盘弹出不关闭就返回上一页,会影响到上一页的显示

环境信息

👽 Taro v3.6.25


  Taro CLI 3.6.25 environment info:
    System:
      OS: macOS 14.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.17.0 - ~/.nvm/versions/node/v18.17.0/bin/node
      Yarn: 1.22.21 - ~/.nvm/versions/node/v18.17.0/bin/yarn
      npm: 9.6.7 - ~/.nvm/versions/node/v18.17.0/bin/npm
    npmPackages:
      @tarojs/cli: ^3.6.25 => 3.6.25 
      @tarojs/components: ^3.6.25 => 3.6.25 
      @tarojs/components-rn: ^3.6.25 => 3.6.25 
      @tarojs/helper: ^3.6.25 => 3.6.25 
      @tarojs/plugin-framework-react: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-alipay: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-h5: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-jd: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-qq: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-swan: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-tt: ^3.6.25 => 3.6.25 
      @tarojs/plugin-platform-weapp: ^3.6.25 => 3.6.25 
      @tarojs/react: ^3.6.25 => 3.6.25 
      @tarojs/rn-runner: ^3.6.25 => 3.6.25 
      @tarojs/rn-supporter: ^3.6.25 => 3.6.25 
      @tarojs/runtime: ^3.6.25 => 3.6.25 
      @tarojs/runtime-rn: ^3.6.25 => 3.6.25 
      @tarojs/shared: ^3.6.25 => 3.6.25 
      @tarojs/taro: ^3.6.25 => 3.6.25 
      @tarojs/taro-loader: ^3.6.25 => 3.6.25 
      @tarojs/taro-rn: ^3.6.25 => 3.6.25 
      @tarojs/webpack5-runner: ^3.6.25 => 3.6.25 
      babel-preset-taro: ^3.6.25 => 3.6.25 
      eslint-config-taro: ^3.6.25 => 3.6.25 
      expo: ~47.0.3 => 47.0.14 
      react: ^18.1.0 => 18.2.0 
      react-native: ^0.70.5 => 0.70.15 


补充信息

运行taro info,我的电脑提示zsh: command not found: taro,所以环境信息是复制其他人的

This was referenced Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant