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

fix ball transition #1

wants to merge 1 commit into
base: master


None yet
1 participant
Copy link

commented Jul 8, 2019

主要原因是因为第一次小球飞过后,style 拥有了 transform 属性,然后再次使用的时候会受到 transition 的影响。
解决方案是动态设置小球的 transition,结束后再删除 transition,目的是保证小球从初始位置移动到 cart-control 组件位置的过程不要受 transition 的影响。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.