Browse Source

chore:backup

DaiQiangReal 1 year ago
parent
commit
505003f324
1 changed files with 1 additions and 1 deletions
  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 }) => {