-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Taro 2.2.6版本下的Canvas在缩放动画开始前无法获取具体宽高 #7585
Comments
ZakaryCode
added a commit
that referenced
this issue
Sep 16, 2020
ZakaryCode
added a commit
that referenced
this issue
Sep 18, 2020
This was referenced Sep 18, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
浏览器版本: Chrome 62
使用框架: React
复现步骤
新建一个Canvas组件,并通过动画使其进行缩放:
会发现在canvas的宽高因为缩放动画的原因初始值均为0
期望结果
动画前后,canvas元素的宽高均可以自由设置
实际结果
动画前后,canvas元素的宽高均为0
环境信息
The text was updated successfully, but these errors were encountered: