提交 b310a660 编写于 作者: P plainheart

fix(tooltip): use kebab-case in transition property.

---

`transition: webkitTransform ease 0.3s;` is not valid, use `transition: -webkit-transform ease 0.3s;` instead.
上级 626ae205
......@@ -100,7 +100,7 @@ function assembleTransition(duration: number, onlyFade?: boolean): string {
if (!onlyFade) {
transitionOption = ` ${duration}s ${transitionCurve}`;
transitionText += env.transformSupported
? `,${TRANSFORM_VENDOR}${transitionOption}`
? `,${CSS_TRANSFORM_VENDOR}${transitionOption}`
: `,left${transitionOption},top${transitionOption}`;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册