1
0
Эх сурвалжийг харах

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

pointhalo 1 жил өмнө
parent
commit
43945af946

+ 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 }) => {