c5454
c5454
  • 发布:2019-12-11 13:12
  • 更新:2019-12-17 15:17
  • 阅读:2363

【报Bug】uni-app h5端 动画translate(tx,ty)方法ty无效

分类:uni-app

详细问题描述

(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)

[内容]

h5端 动画translate(tx,ty)方法ty无效

[步骤]
uni-app代码:
this.animation.translate(-(Math.random()((this.width/4)-((this.width/4)-1))+((this.width/4)-1)), -(this.width/2.5)).step();
打包后h5代码:
this.animation.translate(-(Math.random()
(this.width/4-(this.width/4-1))+(this.width/4-1)),-this.width/2.5).step();
运行的HTML, style样式代码:
style="transform: translate(-90.2293px) rotate(0deg); transition: -webkit-transform 1000ms ease 0ms, transform 1000ms ease 0ms; transform-origin: 20% 20% 0px;"
[结果]
translate(tx,ty)方法ty无效,transform: translate(-90.2293px),ty轴不生效,只有tx轴。
[期望]

期望官方尽快修复!!

[如果语言难以表述清晰,拍一个视频或截图,有图有真相]

IDE运行环境说明

h5端

2019-12-11 13:12 负责人:无 分享
已邀请:
DCloud_uniCloud_WYQ

DCloud_uniCloud_WYQ

已确认Bug,感谢反馈

DCloud_UNI_GSQ

DCloud_UNI_GSQ

HBuilderX 2.4.7 alpha 已修复

该问题目前已经被锁定, 无法添加新回复