瀏覽代碼

Merge branch 'main' of github.com:DouyinFE/semi-design

pointhalo 1 年之前
父節點
當前提交
43945af946
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/semi-ui/tooltip/index.tsx

+ 1 - 1
packages/semi-ui/tooltip/index.tsx

@@ -656,10 +656,10 @@ export default class Tooltip extends BaseComponent<TooltipProps, TooltipState> {
                 onAnimationStart={() => this.isAnimating = true}
                 onAnimationEnd={() => {
                     if (transitionState === 'leave') {
-                        this.isAnimating = false;
                         this.didLeave();
                         this.props.afterClose?.();
                     }
+                    this.isAnimating = false;
                 }}>
                 {
                     ({ animationStyle, animationClassName, animationEventsNeedBind }) => {