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

Image 元素未支持动画属性(animation) #7802

Closed
crack-boy opened this issue Oct 9, 2020 · 1 comment
Closed

Image 元素未支持动画属性(animation) #7802

crack-boy opened this issue Oct 9, 2020 · 1 comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@crack-boy
Copy link

相关平台

微信小程序

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

复现步骤

从编译输出的base.wxml来看,Image组件上不存在animation。源码中亦未给Image组件添加animation @tarojs/shared

期望结果

Image 组件有animation属性

实际结果

Image 组件无animation属性

环境信息

👽 Taro v3.0.14


  Taro CLI 3.0.14 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.18.4 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 6.14.6 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: ^3.0.14 => 3.0.14 
      @tarojs/components: 3.0.14 => 3.0.14 
      @tarojs/mini-runner: 3.0.14 => 3.0.14 
      @tarojs/react: 3.0.14 => 3.0.14 
      @tarojs/runtime: 3.0.14 => 3.0.14 
      @tarojs/taro: 3.0.14 => 3.0.14 
      @tarojs/webpack-runner: 3.0.14 => 3.0.14 
      babel-preset-taro: 3.0.14 => 3.0.14 
      eslint-config-taro: 3.0.14 => 3.0.14 
      react: ^16.10.0 => 16.13.1 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Oct 9, 2020
@crack-boy
Copy link
Author

后来选用微信小程序更高级的动画实现了
https://developers.weixin.qq.com/miniprogram/dev/framework/view/animation.html
这样也方便Taro框架适配其他小程序

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

No branches or pull requests

1 participant