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

RN Android showActionSheet 样式与小程序以及 RN iOS 版本不一致 #11978

Closed
zhiqingchen opened this issue Jun 23, 2022 · 2 comments · Fixed by #12438
Closed

RN Android showActionSheet 样式与小程序以及 RN iOS 版本不一致 #11978

zhiqingchen opened this issue Jun 23, 2022 · 2 comments · Fixed by #12438
Assignees
Labels
T-rn Target - 编译到 React Native V-3 Version - 3.x

Comments

@zhiqingchen
Copy link
Member

相关平台

React Native

使用框架: React

复现步骤

showActionSheet

期望结果

与iOS一致

实际结果

不一致

环境信息

👽 Taro v3.5.0-beta.2


  Taro CLI 3.5.0-beta.2 environment info:
    System:
      OS: macOS 12.0.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.10.0 - /usr/local/bin/node
      Yarn: 1.22.11 - ~/.nvm/versions/node/v16.10.0/bin/yarn
      npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/components: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/helper: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/mini-runner: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-framework-react: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-platform-alipay: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-platform-jd: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-platform-qq: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-platform-swan: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-platform-tt: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/plugin-platform-weapp: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/react: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/rn-runner: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/router: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/runtime: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/shared: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/taro: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/taro-h5: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/taro-rn: 3.5.0-beta.2 => 3.5.0-beta.2
      @tarojs/webpack-runner: 3.5.0-beta.2 => 3.5.0-beta.2
      babel-preset-taro: 3.5.0-beta.2 => 3.5.0-beta.2
      eslint-config-taro: 3.5.0-beta.2 => 3.5.0-beta.2
      expo: ~45.0.2 => 45.0.4
      react: ^17.0.2 => 17.0.2
      react-native: ^0.68.2 => 0.68.2
@zhiqingchen
Copy link
Member Author

zhiqingchen commented Jun 23, 2022

小程序 Android RN
image image

@zhiqingchen zhiqingchen added V-3 Version - 3.x T-rn Target - 编译到 React Native labels Jun 23, 2022
@shinken008 shinken008 self-assigned this Sep 2, 2022
@shinken008
Copy link
Collaborator

不太清楚为何代码里面要区分 ios,或者有历史原因,但在issue 里面没有搜到,我试了都是用 Popup 包一下也没有异常。

设计到的 api 有,showImagePicker, showVideoPicker。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rn Target - 编译到 React Native V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants