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

picker 组件在支付宝小程序中无法展示选项 #2919

Open
airbreak opened this issue Jan 5, 2025 · 0 comments
Open

picker 组件在支付宝小程序中无法展示选项 #2919

airbreak opened this issue Jan 5, 2025 · 0 comments

Comments

@airbreak
Copy link

airbreak commented Jan 5, 2025

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

2.7.5

平台

alipay

重现链接

https://gitee.com/izzy/picker-alipay-test.git

重现步骤

  1. npm install
  2. npm run dev:aliapy
  3. 支付宝小程序运行起来后,点击页面的“请选择城市”按钮
  4. 底部弹出选择框,但是选择项不显示,也无法滑动选择项

期望的结果是什么?

支付宝小程序能正常显示 picker 选项。

实际的结果是什么?

  • 在支付宝小程序中,底部弹出选择框,但是选择项不显示,也无法滑动选择项。而一样的代码,在微信小程序是没问题的。
  • 支付宝小程序中,底部弹出选择框时,控制台有错误提示:“react.development.js:209 Warning: Failed prop type: Right-hand side of 'instanceof' is not an object at CSSTransition ”

环境信息

👽 Taro v4.0.8

Taro CLI 4.0.8 environment info:
System:
OS: macOS 12.0.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
npmPackages:
@tarojs/cli: 4.0.8 => 4.0.8
@tarojs/components: 4.0.8 => 4.0.8
@tarojs/helper: 4.0.8 => 4.0.8
@tarojs/plugin-framework-react: 4.0.8 => 4.0.8
@tarojs/plugin-html: 4.0.8 => 4.0.8
@tarojs/plugin-platform-alipay: 4.0.8 => 4.0.8
@tarojs/plugin-platform-h5: 4.0.8 => 4.0.8
@tarojs/plugin-platform-jd: 4.0.8 => 4.0.8
@tarojs/plugin-platform-qq: 4.0.8 => 4.0.8
@tarojs/plugin-platform-swan: 4.0.8 => 4.0.8
@tarojs/plugin-platform-tt: 4.0.8 => 4.0.8
@tarojs/plugin-platform-weapp: 4.0.8 => 4.0.8
@tarojs/react: 4.0.8 => 4.0.8
@tarojs/runtime: 4.0.8 => 4.0.8
@tarojs/shared: 4.0.8 => 4.0.8
@tarojs/taro: 4.0.8 => 4.0.8
@tarojs/taro-loader: 4.0.8 => 4.0.8
@tarojs/webpack5-runner: 4.0.8 => 4.0.8
babel-preset-taro: 4.0.8 => 4.0.8
eslint-config-taro: 4.0.8 => 4.0.8
react: ^18.0.0 => 18.3.1

其他补充信息

No response

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