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

微信小程序行内样式带有'-webkit-box-orient','-webkit-line-clamp'会自动过滤掉,不生效 #8805

Closed
zhangbin625 opened this issue Mar 3, 2021 · 4 comments · Fixed by #8835
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@zhangbin625
Copy link

相关平台

微信小程序

小程序基础库: 2.15.0
使用框架: React

复现步骤

微信小程序行内样式带有'-webkit-box-orient','-webkit-line-clamp'会自动过滤掉,不生效

期望结果

微信小程序行内样式带有'-webkit-box-orient','-webkit-line-clamp'可以手动配置

实际结果

微信小程序行内样式带有'-webkit-box-orient','-webkit-line-clamp'会自动过滤掉,不生效

环境信息

👽 Taro v3.1.1


  Taro CLI 3.1.1 environment info:
    System:
      OS: macOS 10.14.6
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm
    npmPackages:
      @tarojs/cli: ^3.1.1 => 3.1.1 
      @tarojs/components: 3.0.26 => 3.0.26 
      @tarojs/mini-runner: 3.1.1 => 3.1.1 
      @tarojs/react: 3.0.26 => 3.0.26 
      @tarojs/runtime: 3.0.26 => 3.0.26 
      @tarojs/taro: 3.0.26 => 3.0.26 
      @tarojs/webpack-runner: 3.1.1 => 3.1.1 
      babel-preset-taro: 3.1.1 => 3.1.1 
      eslint-config-taro: 3.1.1 => 3.1.1 
      react: ^16.10.0 => 16.14.0 
    npmGlobalPackages:
      typescript: 4.1.2
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Mar 3, 2021
@Chen-jj Chen-jj added this to the 3.1.2 milestone Mar 3, 2021
@lmarklil
Copy link

lmarklil commented Mar 3, 2021

上个版本中用这种方式可以

style={
 "-webkit-mask-image":"url(...)"
}

但是这个版本就不行了

@Celeste72
Copy link

taro版本升级到3.1.1,h5正常,微信小程序webkit-mask-image行间样式失效

@BibBin
Copy link

BibBin commented Feb 25, 2022

"@tarojs/taro": "3.3.2" 微信小程序 -webkit-box-orient 还是被去掉了

@maopixin
Copy link

现在还没修复吗,整了半天,我还以为是微信小程序的bug呢。

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

Successfully merging a pull request may close this issue.

6 participants