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

支付宝小程序PickerViewColumn 元素动态修改时显示异常 #11422

Open
TheKonka opened this issue Mar 9, 2022 · 3 comments
Open

支付宝小程序PickerViewColumn 元素动态修改时显示异常 #11422

TheKonka opened this issue Mar 9, 2022 · 3 comments
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x

Comments

@TheKonka
Copy link
Member

TheKonka commented Mar 9, 2022

相关平台

支付宝小程序

复现仓库

https://github.com/konka-king/alipay-pickerview
小程序基础库: 支付宝小程序开发者工具2.7.2版本
使用框架: React

复现步骤

一个PickerView 里面有2个PickerViewColumn,右边的PickerViewColumn会根据左边的PickerViewColumn值动态变化。
在动态变化后,发现右边的元素高度显示异常,不符合期望。

本人已通过支付宝原生开发测试,原生代码下是正常的。

期望结果

右边PickerViewColumn高度显示效果不变

实际结果

右边PickerViewColumn高度显示效果变化

环境信息

👽 Taro v3.4.3


  Taro CLI 3.4.3 environment info:
    System:
      OS: macOS 12.2.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 17.3.0 - /opt/homebrew/bin/node
      Yarn: 1.22.17 - ~/.yarn/bin/yarn
      npm: 8.3.0 - /opt/homebrew/bin/npm
    npmPackages:
      @tarojs/components: 3.4.3 => 3.4.3 
      @tarojs/mini-runner: ^3.4.3 => 3.4.3 
      @tarojs/react: 3.4.3 => 3.4.3 
      @tarojs/runtime: 3.4.3 => 3.4.3 
      @tarojs/taro: 3.4.3 => 3.4.3 
      @tarojs/webpack-runner: 3.4.3 => 3.4.3 
      babel-preset-taro: 3.4.3 => 3.4.3 
      eslint-config-taro: 3.4.3 => 3.4.3 
      react: ^17.0.0 => 17.0.2 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x labels Mar 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2022

等待热心的小伙伴解决问题中..., 有一些相关的 issues 可能帮助到你!

Thank you so much!

@TheKonka
Copy link
Member Author

TheKonka commented Mar 9, 2022

这是初始情况,高度固定
image

这是动态变化后的情况,可以看出右侧高度明显不正常
image

@TheKonka TheKonka changed the title 支付宝小程序PickerViewColumn 元素动态修改时样式丢失 支付宝小程序PickerViewColumn 元素动态修改时显示异常 Mar 9, 2022
@crazyair
Copy link

这个能解决吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

2 participants